Support Intel SHA

Programming / Debugging / GDB - H.J. Lu [gmail.com] - 25 July 2013 11:16 UTC

gas/

2013-07-25 Michael Zolotukhin

- config/tc-i386.c (cpu_arch): Add .sha.
- doc/c-i386.texi: Document sha/.sha.

gas/testsuite/

2013-07-25 Michael Zolotukhin

- 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

- 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.

e5d17b9 Support Intel SHA
opcodes/ChangeLog | 17 +
opcodes/i386-dis.c | 56 +-
opcodes/i386-gen.c | 3 +
opcodes/i386-init.h | 174 +-
opcodes/i386-opc.h | 5 +-
opcodes/i386-opc.tbl | 10 +
opcodes/i386-tbl.h | 5498 ++++++++++++++++++++++++++------------------------
7 files changed, 2981 insertions(+), 2782 deletions(-)

Upstream: sourceware.org


  • Share