aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorHaochen Jiang <haochen.jiang@intel.com>2023-07-24 11:09:57 +0800
committerHaochen Jiang <haochen.jiang@intel.com>2023-07-27 20:52:46 +0800
commit2bced1684b3636d4c7607b7ec57e34d2d71b74cb (patch)
tree6cf61ac248321b80cb1acb5b58402a2b9112569d /opcodes/i386-dis.c
parentc55ba32b7a7a3cf2ba8a42310f1c3d0b090af3e2 (diff)
downloadfsf-binutils-gdb-2bced1684b3636d4c7607b7ec57e34d2d71b74cb.zip
fsf-binutils-gdb-2bced1684b3636d4c7607b7ec57e34d2d71b74cb.tar.gz
fsf-binutils-gdb-2bced1684b3636d4c7607b7ec57e34d2d71b74cb.tar.bz2
Support Intel SM4
gas/ChangeLog: * NEWS: Support Intel SM4. * config/tc-i386.c: Add sm4. * doc/c-i386.texi: Document .sm4. * testsuite/gas/i386/i386.exp: Run SM4 tests. * testsuite/gas/i386/x86-64.exp: Ditto. * testsuite/gas/i386/sm4-intel.d: Add SM4 tests. * testsuite/gas/i386/sm4.d: Ditto. * testsuite/gas/i386/sm4.s: Ditto. * testsuite/gas/i386/x86-64-sm4-intel.d: Ditto. * testsuite/gas/i386/x86-64-sm4.d: Ditto. * testsuite/gas/i386/x86-64-sm4.s: Ditto. opcodes/ChangeLog: * i386-dis.c (prefix_table): Add SM4 instructions. * i386-gen.c (isa_dependencies): Add SM4. (cpu_flags): Ditto. * i386-init.h: Regenerated. * i386-mnem.h: Ditto. * i386-opc.h (CpuSM4): New. (i386_cpu_flags): Add cpusm4. * i386-opc.tbl: Add SM4 instructions. * i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 01b9096..fd0f5c2 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -3970,8 +3970,9 @@ static const struct dis386 prefix_table[][4] = {
/* PREFIX_VEX_0F38DA_W_0 */
{
{ VEX_LEN_TABLE (VEX_LEN_0F38DA_W_0_P_0) },
- { Bad_Opcode },
+ { "vsm4key4", { XM, Vex, EXx }, 0 },
{ VEX_LEN_TABLE (VEX_LEN_0F38DA_W_0_P_2) },
+ { "vsm4rnds4", { XM, Vex, EXx }, 0 },
},
/* PREFIX_VEX_0F38F5_L_0 */