Index: third_party/yasm/patched-yasm/modules/arch/x86/x86cpu.gperf |
=================================================================== |
--- third_party/yasm/patched-yasm/modules/arch/x86/x86cpu.gperf (revision 71129) |
+++ third_party/yasm/patched-yasm/modules/arch/x86/x86cpu.gperf (working copy) |
@@ -25,7 +25,7 @@ |
# POSSIBILITY OF SUCH DAMAGE. |
%{ |
#include <util.h> |
-RCSID("$Id: x86cpu.gperf 2181 2009-03-20 07:36:49Z peter $"); |
+RCSID("$Id: x86cpu.gperf 2346 2010-08-01 01:37:37Z peter $"); |
#include <ctype.h> |
#include <libyasm.h> |
@@ -151,8 +151,10 @@ |
BitVector_Bit_On(cpu, CPU_Prot); |
BitVector_Bit_On(cpu, CPU_SMM); |
BitVector_Bit_On(cpu, CPU_3DNow); |
- if (data >= PROC_bulldozer) |
- BitVector_Bit_On(cpu, CPU_SSE5); |
+ if (data >= PROC_bulldozer) { |
+ BitVector_Bit_On(cpu, CPU_XOP); |
+ BitVector_Bit_On(cpu, CPU_FMA4); |
+ } |
if (data >= PROC_k10) |
BitVector_Bit_On(cpu, CPU_SSE4a); |
if (data >= PROC_venice) |
@@ -357,8 +359,6 @@ |
nosse4a, x86_cpu_clear, CPU_SSE4a |
sse4, x86_cpu_set_sse4, 0 |
nosse4, x86_cpu_clear_sse4, 0 |
-sse5, x86_cpu_set, CPU_SSE5 |
-nosse5, x86_cpu_clear, CPU_SSE5 |
xsave, x86_cpu_set, CPU_XSAVE |
noxsave, x86_cpu_clear, CPU_XSAVE |
avx, x86_cpu_set, CPU_AVX |
@@ -373,6 +373,22 @@ |
nopclmulqdq, x86_cpu_clear, CPU_CLMUL |
movbe, x86_cpu_set, CPU_MOVBE |
nomovbe, x86_cpu_clear, CPU_MOVBE |
+xop, x86_cpu_set, CPU_XOP |
+noxop, x86_cpu_clear, CPU_XOP |
+fma4, x86_cpu_set, CPU_FMA4 |
+nofma4, x86_cpu_clear, CPU_FMA4 |
+f16c, x86_cpu_set, CPU_F16C |
+nof16c, x86_cpu_clear, CPU_F16C |
+fsgsbase, x86_cpu_set, CPU_FSGSBASE |
+nofsgsbase, x86_cpu_clear, CPU_FSGSBASE |
+rdrand, x86_cpu_set, CPU_RDRAND |
+nordrand, x86_cpu_clear, CPU_RDRAND |
+xsaveopt, x86_cpu_set, CPU_XSAVEOPT |
+noxsaveopt, x86_cpu_clear, CPU_XSAVEOPT |
+eptvpid, x86_cpu_set, CPU_EPTVPID |
+noeptvpid, x86_cpu_clear, CPU_EPTVPID |
+smx, x86_cpu_set, CPU_SMX |
+nosmx, x86_cpu_clear, CPU_SMX |
# Change NOP patterns |
basicnop, x86_nop, X86_NOP_BASIC |
intelnop, x86_nop, X86_NOP_INTEL |