summaryrefslogtreecommitdiff
path: root/src/mesa/x86/common_x86_features.h
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-28 20:44:43 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-28 20:44:43 +0000
commit0a59ca6cae6ef24990f1c41c8c7857214489443c (patch)
tree209540eb19ac3ad222e060b86ed788d38237a56b /src/mesa/x86/common_x86_features.h
parent38f28665bf9fb5b2464738ca5074848ec2777ae1 (diff)
New type system for assembly code. Asm files should now include
matypes.h, which includes assyntax.h and is generated from the core Mesa header files.
Diffstat (limited to 'src/mesa/x86/common_x86_features.h')
-rw-r--r--src/mesa/x86/common_x86_features.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/x86/common_x86_features.h b/src/mesa/x86/common_x86_features.h
index f8c7b2ab7b..c70e6e8803 100644
--- a/src/mesa/x86/common_x86_features.h
+++ b/src/mesa/x86/common_x86_features.h
@@ -1,10 +1,10 @@
-/* $Id: common_x86_features.h,v 1.3 2001/03/03 21:11:32 brianp Exp $ */
+/* $Id: common_x86_features.h,v 1.4 2001/03/28 20:44:44 gareth Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.5
*
- * Copyright (C) 1999 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -63,7 +63,7 @@
#define X86_FEATURE_MMX 0x00800000
#define X86_FEATURE_FXSR 0x01000000
#define X86_FEATURE_XMM 0x02000000
-#define X86_FEATURE_26 0x04000000
+#define X86_FEATURE_XMM2 0x04000000
#define X86_FEATURE_27 0x08000000
#define X86_FEATURE_28 0x10000000
#define X86_FEATURE_29 0x20000000
@@ -71,7 +71,10 @@
#define X86_FEATURE_3DNOW 0x80000000
#define cpu_has_mmx (_mesa_x86_cpu_features & X86_FEATURE_MMX)
+#define cpu_has_mmxext (_mesa_x86_cpu_features & X86_FEATURE_MMXEXT)
#define cpu_has_xmm (_mesa_x86_cpu_features & X86_FEATURE_XMM)
+#define cpu_has_xmm2 (_mesa_x86_cpu_features & X86_FEATURE_XMM2)
#define cpu_has_3dnow (_mesa_x86_cpu_features & X86_FEATURE_3DNOW)
+#define cpu_has_3dnowext (_mesa_x86_cpu_features & X86_FEATURE_3DNOWEXT)
#endif