projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa80f05
)
fix 3dnow misdetection on new p4's
author
Keith Whitwell
<keith@tungstengraphics.com>
Sat, 9 Nov 2002 17:43:58 +0000
(17:43 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Sat, 9 Nov 2002 17:43:58 +0000
(17:43 +0000)
src/mesa/x86/common_x86_asm.S
patch
|
blob
|
history
diff --git
a/src/mesa/x86/common_x86_asm.S
b/src/mesa/x86/common_x86_asm.S
index 5e7e39febe5cafb27b7d8a81deec6b917d05af20..a966078b2da40e944d26d5c6b472343138f0d350 100644
(file)
--- a/
src/mesa/x86/common_x86_asm.S
+++ b/
src/mesa/x86/common_x86_asm.S
@@
-1,4
+1,4
@@
-/* $Id: common_x86_asm.S,v 1.1
2 2002/09/19 16:07:32 brianp
Exp $ */
+/* $Id: common_x86_asm.S,v 1.1
3 2002/11/09 17:43:58 keithw
Exp $ */
/*
* Mesa 3-D graphics library
@@
-112,6
+112,11
@@
GLNAME( _mesa_identify_x86_cpu_features ):
MOV_L ( CONST(0x1), EAX )
CPUID
MOV_L ( EDX, EAX )
+
+ /* Mask out highest bit, which is used by AMD for 3dnow
+ * Newer Intel have this bit set, but do not support 3dnow
+ */
+ AND_L ( CONST(0X7FFFFFFF), EAX)
JMP ( LLBL(cpuid_done) )
LLBL(cpuid_amd):