diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-09-20 11:53:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-09-20 11:53:33 +0000 |
commit | 60aa667ec4711b34cd0c34908198bde2ea510849 (patch) | |
tree | be2f1bed34b4553fffd1672d4476f860f29aa491 /opcodes/i386-opc.h | |
parent | 535127d2b811022d80855b0b57d3f32ab5a3dc9f (diff) | |
download | gdb-60aa667ec4711b34cd0c34908198bde2ea510849.zip gdb-60aa667ec4711b34cd0c34908198bde2ea510849.tar.gz gdb-60aa667ec4711b34cd0c34908198bde2ea510849.tar.bz2 |
Replace CpuSSE3 with CpuCX16 for cmpxchg16b
gas/
* config/tc-i386.c (cpu_arch): Add .cx16.
* doc/c-i386.texi: Document .cx16.
gas/testsuite/
* gas/i386/x86-64-arch-2.s: Add test for cmpxchg16b.
* gas/i386/x86-64-arch-2.d: Update correspondingly.
* gas/i386/x86-64-arch-2-bdver2.d: Likewise.
* gas/i386/x86-64-arch-2-btver1.d: Likewise.
* gas/i386/x86-64-arch-2-btver2.d: Likewise.
* gas/i386/x86-64-arch-2-lzcnt.d: Likewise.
* gas/i386/x86-64-arch-2-prefetchw.d: Likewise.
* gas/i386/ilp32/x86-64-arch-2.d: Likewise.
opcodes/
* i386-gen.c (cpu_flag_init): Add CpuCX16 to CPU_NOCONA_FLAGS,
CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS,
CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS,
CPU_BTVER2_FLAGS. Add CPU_CX16_FLAGS.
(cpu_flags): Add CpuCX16.
* i386-opc.h (CpuCX16): New.
(i386_cpu_flags): Add cpucx16.
* i386-opc.tbl: Replace CpuSSE3 with CpuCX16 for cmpxchg16b.
* i386-tbl.h: Regenerate.
* i386-init.h: Likewise.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 21f33a9..bfb3ce4 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -120,6 +120,8 @@ enum CpuTBM, /* MOVBE Instruction support required */ CpuMovbe, + /* CMPXCHG16B instruction support required. */ + CpuCX16, /* EPT Instructions required */ CpuEPT, /* RDTSCP Instruction support required */ @@ -217,6 +219,7 @@ typedef union i386_cpu_flags unsigned int cpubmi:1; unsigned int cputbm:1; unsigned int cpumovbe:1; + unsigned int cpucx16:1; unsigned int cpuept:1; unsigned int cpurdtscp:1; unsigned int cpufsgsbase:1; |