diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-07-25 16:16:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-07-25 16:16:34 +0000 |
commit | 253d56c621fc76278bc705cda89800ab029d8268 (patch) | |
tree | 8d5645c1ea894ab8e99aa4d08b0da77bc30aa6a6 /opcodes/i386-gen.c | |
parent | d1b1f6d2e74054fd2acd846227310dce5179a40f (diff) | |
download | binutils-redhat-253d56c621fc76278bc705cda89800ab029d8268.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 67fb7a2557..e2857badb4 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), |