Enable Intel VAES instructions.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Fri, 20 Oct 2017 20:35:45 +0000 (23:35 +0300)
committerIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Mon, 23 Oct 2017 12:58:18 +0000 (15:58 +0300)
commit8dcf1fadf2b0763962639fc5dcedc1892e502265
tree9e26cf3963d19ba67cbd8c767d6aa5247902e823
parent48521003d5300e1390d78dbbcae83febe5808aaf
Enable Intel VAES instructions.

Intel has disclosed a set of new instructions. The spec is
https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

gas/

* config/tc-i386.c (cpu_arch): Add VAES.
* doc/c-i386.texi: Document VAES.
* testsuite/gas/i386/i386.exp: Run VAES tests.
* testsuite/gas/i386/avx512f_vaes-intel.d: New test.
* testsuite/gas/i386/avx512f_vaes-wig.s: Ditto.
* testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Ditto.
* testsuite/gas/i386/avx512f_vaes-wig1.d: Ditto.
* testsuite/gas/i386/avx512f_vaes.d: Ditto.
* testsuite/gas/i386/avx512f_vaes.s: Ditto.
* testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
* testsuite/gas/i386/avx512vl_vaes-wig.s: Ditto.
* testsuite/gas/i386/avx512vl_vaes-wig1-intel.d: Ditto.
* testsuite/gas/i386/avx512vl_vaes-wig1.d: Ditto.
* testsuite/gas/i386/avx512vl_vaes.d: Ditto.
* testsuite/gas/i386/avx512vl_vaes.s: Ditto.
* testsuite/gas/i386/vaes-intel.d: Ditto.
* testsuite/gas/i386/vaes.d: Ditto.
* testsuite/gas/i386/vaes.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
* testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
* testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
* testsuite/gas/i386/x86-64-vaes-intel.d: Ditto.
* testsuite/gas/i386/x86-64-vaes.d: Ditto.
* testsuite/gas/i386/x86-64-vaes.s: Ditto.

opcodes/

* i386-dis.c (enum): Add PREFIX_EVEX_0F38DC, PREFIX_EVEX_0F38DD,
PREFIX_EVEX_0F38DE, PREFIX_EVEX_0F38DF.
(enum): Remove VEX_LEN_0F38DC_P_2, VEX_LEN_0F38DD_P_2,
VEX_LEN_0F38DE_P_2, VEX_LEN_0F38DF_P_2.
(vex_len_table): Ditto.
(enum): Remove VEX_W_0F38DC_P_2, VEX_W_0F38DD_P_2,
VEX_W_0F38DE_P_2, VEX_W_0F38DF_P_2.
(vew_w_table): Ditto.
(prefix_table): Adjust instructions (see prefixes above).
* i386-dis-evex.h (evex_table):
Add new instructions (see prefixes above).
* i386-gen.c (cpu_flag_init): Add VAES.
(bitfield_cpu_flags): Ditto.
* i386-opc.h (enum): Ditto.
(i386_cpu_flags): Ditto.
* i386-opc.tbl (vaes{enc,dec}{last,}): New instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
40 files changed:
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/avx512f_vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512f_vaes-wig.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512f_vaes-wig1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512f_vaes-wig1.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512f_vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512f_vaes.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes-wig.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes-wig1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes-wig1.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl_vaes.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/vaes.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes-wig.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512f_vaes.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl_vaes.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vaes-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vaes.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vaes.s [new file with mode: 0644]
opcodes/i386-dis-evex.h
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.029835 seconds and 4 git commands to generate.