summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/X86/common_x86asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/X86/common_x86asm.h')
-rw-r--r--xc/extras/Mesa/src/X86/common_x86asm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/X86/common_x86asm.h b/xc/extras/Mesa/src/X86/common_x86asm.h
index 55c79ac00..a9d901f62 100644
--- a/xc/extras/Mesa/src/X86/common_x86asm.h
+++ b/xc/extras/Mesa/src/X86/common_x86asm.h
@@ -29,6 +29,8 @@
* processor.
*
* Written by Holger Waechtler <holger@akaflieg.extern.tu-berlin.de>
+ * Changed by Andre Werthmann <wertmann@cs.uni-potsdam.de> for using the
+ * new Katmai functions
*/
#ifndef _common_3dnow_h
#define _common_3dnow_h
@@ -36,7 +38,8 @@
#define GL_CPU_GenuineIntel 1
#define GL_CPU_MMX 2
#define GL_CPU_3Dnow 4
-#define GL_CPU_AnyX86 8 /* set if x86 asm allowed */
+#define GL_CPU_Katmai 8 /* set if the katmai-instructions are available */
+#define GL_CPU_AnyX86 16 /* set if x86 asm allowed */
#ifdef HAVE_CONFIG_H
#include "conf.h"
@@ -47,6 +50,9 @@
#ifdef USE_3DNOW_ASM
#include "3dnow.h"
#endif
+#ifdef USE_KATMAI_ASM
+#include "katmai.h"
+#endif
#endif
extern int gl_x86_cpu_features;