Support Intel AMX-FP16
authorCui,Lili <lili.cui@intel.com>
Fri, 21 Oct 2022 02:01:12 +0000 (10:01 +0800)
committerCui,Lili <lili.cui@intel.com>
Fri, 21 Oct 2022 02:49:19 +0000 (10:49 +0800)
commit68830fbae98867f63720d250a18ce64f9f2f51fc
tree6d07e3727a904329ea99a03f109c04cef7e2b2bd
parent5bba7eaef514362db4fa43969160831ec9c677d4
Support Intel AMX-FP16

gas/

* NEWS: Add support for Intel AMX-FP16 instruction.
* config/tc-i386.c: Add amx_fp16.
* doc/c-i386.texi: Document .amx_fp16.
* testsuite/gas/i386/i386.exp: Add AMX-FP16 tests.
* testsuite/gas/i386/x86-64-amx-fp16-intel.d: New test.
* testsuite/gas/i386/x86-64-amx-fp16.d: Likewise.
* testsuite/gas/i386/x86-64-amx-fp16.s: Likewise.
* testsuite/gas/i386/x86-64-amx-fp16-bad.d: Likewise.
* testsuite/gas/i386/x86-64-amx-fp16-bad.s: Likewise.

opcodes/

* i386-dis.c (MOD_VEX_0F385C_X86_64_P_3_W_0): New.
(VEX_LEN_0F385C_X86_64_P_3_W_0_M_0): Likewise.
(VEX_W_0F385C_X86_64_P_3): Likewise.
(prefix_table): Add VEX_W_0F385C_X86_64_P_3.
(vex_len_table): Add VEX_LEN_0F385C_X86_64_P_3_W_0_M_0.
(vex_w_table): Add VEX_W_0F385C_X86_64_P_3.
(mod_table): Add MOD_VEX_0F385C_X86_64_P_3_W_0.
* i386-gen.c (cpu_flag_init): Add AMX-FP16_FLAGS.
(CPU_ANY_AMX_TILE_FLAGS): Add CpuAMX_FP16.
(cpu_flags): Add CpuAMX-FP16.
* i386-opc.h (enum): Add CpuAMX-FP16.
(i386_cpu_flags): Add cpuamx_fp16.
* i386-opc.tbl: Add Intel AMX-FP16 instruction.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
15 files changed:
gas/NEWS
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-amx-fp16-bad.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-amx-fp16-bad.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-amx-fp16-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-amx-fp16.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-amx-fp16.s [new file with mode: 0644]
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h