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 /gas/doc | |
parent | 535127d2b811022d80855b0b57d3f32ab5a3dc9f (diff) | |
download | binutils-60aa667ec4711b34cd0c34908198bde2ea510849.zip binutils-60aa667ec4711b34cd0c34908198bde2ea510849.tar.gz binutils-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 'gas/doc')
-rw-r--r-- | gas/doc/c-i386.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 5b7b007..dde545b 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -171,6 +171,7 @@ accept various extension mnemonics. For example, @code{lwp}, @code{fma4}, @code{xop}, +@code{cx16}, @code{syscall}, @code{rdtscp}, @code{3dnow}, @@ -1027,7 +1028,7 @@ supported on the CPU specified. The choices for @var{cpu_type} are: @item @samp{.rtm} @tab @samp{.adx} @tab @samp{.rdseed} @tab @samp{.prfchw} @item @samp{.3dnow} @tab @samp{.3dnowa} @tab @samp{.sse4a} @tab @samp{.sse5} @item @samp{.syscall} @tab @samp{.rdtscp} @tab @samp{.svme} @tab @samp{.abm} -@item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop} +@item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop} @tab @samp{.cx16} @item @samp{.padlock} @end multitable |