diff options
author | Ilya Tocar <ilya.tocar@intel.com> | 2014-11-17 14:19:41 +0300 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-17 05:56:37 -0800 |
commit | c5e7287a1a245a2043352e0db9c731fb7e31a90f (patch) | |
tree | 39d2c835943b95a01a9cb552d993ace4554091dc /opcodes/i386-opc.h | |
parent | a267f3ad3f8c3f76f46ed006ac11a88426414339 (diff) | |
download | gdb-c5e7287a1a245a2043352e0db9c731fb7e31a90f.zip gdb-c5e7287a1a245a2043352e0db9c731fb7e31a90f.tar.gz gdb-c5e7287a1a245a2043352e0db9c731fb7e31a90f.tar.bz2 |
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.
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 8806142..f65f317 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -184,6 +184,8 @@ enum CpuPREFETCHWT1, /* SE1 instruction required */ CpuSE1, + /* CLWB instruction required */ + CpuCLWB, /* 64bit support required */ Cpu64, /* Not supported in the 64bit mode */ @@ -283,6 +285,7 @@ typedef union i386_cpu_flags unsigned int cpuxsavec:1; unsigned int cpuprefetchwt1:1; unsigned int cpuse1:1; + unsigned int cpuclwb:1; unsigned int cpu64:1; unsigned int cpuno64:1; #ifdef CpuUnused |