aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-07-25 16:16:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-07-25 16:16:35 +0000
commita00464085799717f03cfee95a3de4d4f0fd58c64 (patch)
treec98872e0f1c99fb02a9076858a0f320057e7fbcb /opcodes/i386-gen.c
parentc623f86cd297d3758aa49ed971d50045f0ab2fc6 (diff)
downloadgdb-a00464085799717f03cfee95a3de4d4f0fd58c64.zip
gdb-a00464085799717f03cfee95a3de4d4f0fd58c64.tar.gz
gdb-a00464085799717f03cfee95a3de4d4f0fd58c64.tar.bz2
Support Intel SHA
gas/ 2013-07-25 Michael Zolotukhin <michael.v.zolotukhin@intel.com> * config/tc-i386.c (cpu_arch): Add .sha. * doc/c-i386.texi: Document sha/.sha. gas/testsuite/ 2013-07-25 Michael Zolotukhin <michael.v.zolotukhin@intel.com> * gas/i386/sha.d: New. * gas/i386/sha.s: New. * gas/i386/x86-64-sha.d: New. * gas/i386/x86-64-sha.s: New. * gas/i386/i386.exp: Run new SHA tests. opcodes/ 2013-07-25 Michael Zolotukhin <michael.v.zolotukhin@intel.com> * i386-dis.c (PREFIX enum): Add PREFIX_0F38C8, PREFIX_0F38C9, PREFIX_0F38CA, PREFIX_0F38CB, PREFIX_0F38CC, PREFIX_0F38CD, PREFIX_0F3ACC. (prefix_table): Updated. (three_byte_table): Likewise. * i386-gen.c (cpu_flag_init): Add CPU_SHA_FLAGS. (cpu_flags): Add CpuSHA. (i386_cpu_flags): Add cpusha. * i386-init.h: Regenerate. * i386-opc.h (CpuSHA): New. (CpuUnused): Restored. (i386_cpu_flags): Add cpusha. * i386-opc.tbl: Add SHA instructions. * i386-tbl.h: Regenerate.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 67fb7a2..e2857ba 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -210,6 +210,8 @@ static initializer cpu_flag_init[] =
"CpuSMAP" },
{ "CPU_MPX_FLAGS",
"CpuMPX" },
+ { "CPU_SHA_FLAGS",
+ "CpuSHA" },
};
static initializer operand_type_init[] =
@@ -386,6 +388,7 @@ static bitfield cpu_flags[] =
BITFIELD (CpuADX),
BITFIELD (CpuPRFCHW),
BITFIELD (CpuSMAP),
+ BITFIELD (CpuSHA),
BITFIELD (Cpu64),
BITFIELD (CpuNo64),
BITFIELD (CpuMPX),