Enable Intel AVX512_4VNNIW instructions
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Wed, 2 Nov 2016 19:31:25 +0000 (12:31 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Nov 2016 19:31:25 +0000 (12:31 -0700)
commit47acf0bd9faef8634d242e19ec3b7f784d10ba76
treed189fb03e209c2e35158d7bdc483f2fdfb67f239
parent920d2ddccb72a366140ed28283165b274f7a9045
Enable Intel AVX512_4VNNIW instructions

gas/

* config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
(cpu_noarch): Add noavx512_4vnniw.
* doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
* testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
* testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
* testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
* testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
* testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.

opcodes/

* i386-dis.c (enum): Add PREFIX_EVEX_0F3852, PREFIX_EVEX_0F3853.
* i386-dis-evex.h (evex_table): Updated.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4VNNIW_FLAGS,
CPU_ANY_AVX512_4VNNIW_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
(cpu_flags): Add CpuAVX512_4VNNIW.
* i386-opc.h (enum): (AVX512_4VNNIW): New.
(i386_cpu_flags): Add cpuavx512_4vnniw.
* i386-opc.tbl: Add Intel AVX512_4VNNIW instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
24 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/avx512_4vnniw-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4vnniw.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4vnniw.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4vnniw_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4vnniw_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4vnniw_vl.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx512_4vnniw-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4vnniw.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4vnniw.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4vnniw_vl.s [new file with mode: 0644]
opcodes/ChangeLog
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