Enable Intel AVX512_4FMAPS instructions
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Wed, 2 Nov 2016 19:24:39 +0000 (12:24 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Nov 2016 19:25:34 +0000 (12:25 -0700)
commit920d2ddccb72a366140ed28283165b274f7a9045
treed305278866b75e1605f77972f4496c1ee99105c0
parent95dc74aa02352505785bb70ba60b706e70c74584
Enable Intel AVX512_4FMAPS instructions

gas/

* config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
(cpu_noarch): Add noavx512_4fmaps.
(process_operands): Handle implicit quad group.
* doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
* testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
* testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
* testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps.d: Ditto.
* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
* testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
* testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.

opcodes/

* i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
* i386-dis-evex.h (evex_table): Updated.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
(cpu_flags): Add CpuAVX512_4FMAPS.
(opcode_modifiers): Add ImplicitQuadGroup modifier.
* i386-opc.h (AVX512_4FMAP): New.
(i386_cpu_flags): Add cpuavx512_4fmaps.
(ImplicitQuadGroup): New.
(i386_opcode_modifier): Add implicitquadgroup.
* i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
31 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/avx512_4fmaps-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps-warn.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps-warn.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_4fmaps_vl.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis-evex.h
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h