]> granicus.if.org Git - yasm/commitdiff
* x86parse.gap: Make cmpxchg16b only work as an instruction identifer in 64-bit
authorPeter Johnson <peter@tortall.net>
Thu, 8 Jun 2006 03:37:13 +0000 (03:37 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 8 Jun 2006 03:37:13 +0000 (03:37 -0000)
mode.

svn path=/trunk/yasm/; revision=1554

modules/arch/x86/x86parse.gap

index 79a29cd0a308eb2a7d8abf0f83250c3b87fec56b..5dc170c48551bfcb9557291ad5361d86831b1dd6 100644 (file)
@@ -746,7 +746,7 @@ INSN        -       sysret  "lq"    twobyte 0x0F07          CPU_686|CPU_AMD|CPU_Priv
 # AMD x86-64 extensions
 INSN   -       swapgs  NONE    threebyte   0x0F01F8    CPU_Hammer|CPU_64
 INSN   -       rdtscp  NONE    threebyte   0x0F01F9    CPU_686|CPU_AMD|CPU_Priv
-INSN   -       cmpxchg16b NONE cmpxchg16b      0       CPU_586
+INSN   -       cmpxchg16b NONE cmpxchg16b      0       CPU_Hammer|CPU_64
 # AMD Pacifica SVM instructions
 INSN   -       clgi    NONE    threebyte   0x0F01DD    CPU_Hammer|CPU_64|CPU_SVM
 INSN   -       invlpga NONE    invlpga     0           CPU_Hammer|CPU_64|CPU_SVM