[PATCH 3/5] Support Intel SM3

Jan Beulich jbeulich@suse.com
Thu Jul 13 10:20:17 GMT 2023


On 13.07.2023 08:33, Haochen Jiang wrote:
> gas/ChangeLog:
> 
> 	* NEWS: Support Intel SM3.
> 	* config/tc-i386.c: Add sm3.
> 	* doc/c-i386.texi: Document .sm3 and nosm3.
> 	* testsuite/gas/i386/i386.exp: Run sm3 tests.
> 	* testsuite/gas/i386/x86-64.exp: Ditto.
> 	* testsuite/gas/i386/sm3-intel.d: New test.
> 	* testsuite/gas/i386/sm3.d: Ditto.
> 	* testsuite/gas/i386/sm3.s: Ditto.
> 	* testsuite/gas/i386/x86-64-sm3-intel.d: Ditto.
> 	* testsuite/gas/i386/x86-64-sm3.d: Ditto.
> 	* testsuite/gas/i386/x86-64-sm3.s: Ditto.
> 
> opcodes/ChangeLog:
> 
> 	* i386-dis.c (PREFIX_VEX_0F38DA_W_0_L_0): New.
> 	(VEX_LEN_0F38DA_W_0): Ditto.
> 	(VEX_LEN_0F3ADE_W_0): Ditto.
> 	(VEX_W_0F38DA): Ditto.
> 	(VEX_W_0F3ADE): Ditto.
> 	(prefix_table): Add PREFIX_VEX_0F38DA_W_0_L_0.
> 	(vex_len_table): Add VEX_LEN_0F38DA_W_0, VEX_LEN_0F3ADE_W_0.
> 	(vex_w_table): Add VEX_W_0F38DA, VEX_W_0F3ADE.
> 	* i386-gen.c (isa_dependencies): Add SM3.
> 	(cpu_flags): Ditto.
> 	* i386-init.h: Regenerated.
> 	* i386-mnem.h: Ditto.
> 	* i386-opc.h (CpuSM3): New.
> 	(i386_cpu_flags): Add cpusm3.
> 	* i386-opc.tbl: Add SM3 instructions.
> 	* i386-tbl.h: Regenerated.

Looks okay to me, assuming it'll follow suit in moving some of the
entries that you're adding, once re-based on top of the adjusted
earlier patches.

Jan


More information about the Binutils mailing list