Add clwb instruction
authorIlya Tocar <ilya.tocar@intel.com>
Mon, 17 Nov 2014 11:19:41 +0000 (14:19 +0300)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Nov 2014 13:56:37 +0000 (05:56 -0800)
commitc5e7287a1a245a2043352e0db9c731fb7e31a90f
tree39d2c835943b95a01a9cb552d993ace4554091dc
parenta267f3ad3f8c3f76f46ed006ac11a88426414339
Add clwb instruction

gas/

* config/tc-i386.c (cpu_arch): Add .clwb.
* doc/c-i386.texi: Document it.

opcodes/
* i386-dis.c (PREFIX enum): Add PREFIX_0FAE_REG_6.
(prefix_table): Add clwb.
* i386-gen.c (cpu_flag_init): Add CPU_CLWB_FLAGS.
(cpu_flags): Add CpuCLWB.
* i386-opc.h (enum): Add CpuCLWB.
(i386_cpu_flags): Add cpuclwb.
* i386-opc.tbl: Add clwb.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

gas/testsuite/

* gas/i386/i386.exp: Run new tests.
* gas/i386/clwb-intel.d: New file.
* gas/i386/clwb.d: Likewise.
* gas/i386/clwb.s: Likewise.
* gas/i386/x86-64-clwb-intel.d: Likewise.
* gas/i386/x86-64-clwb.d: Likewise.
* gas/i386/x86-64-clwb.s: Likewise.
18 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/clwb-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/clwb.d [new file with mode: 0644]
gas/testsuite/gas/i386/clwb.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-clwb-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-clwb.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-clwb.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h