Enable Intel AVX512_VP2INTERSECT insn
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Jun 2019 15:58:21 +0000 (08:58 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Jun 2019 15:58:31 +0000 (08:58 -0700)
commit9186c494a3bb61a55a29ec04aa0d1684a8c46838
tree08497454a5d3643adee42c7c346f169bc42f48b2
parent5d79adc4b22b0abd4f12ea973a00e7fb0c1dad64
Enable Intel AVX512_VP2INTERSECT insn

This patch enables support for VP2INTERSECT in binutils.  Please refer to

https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

for VP2INTERSECT details.

Make check-gas is ok.

gas/

2019-06-04  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
    Lili Cui  <lili.cui@intel.com>

* config/tc-i386.c (cpu_arch): Add .avx512_vp2intersect.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document avx512_vp2intersect.
* testsuite/gas/i386/i386.exp: Run vp2intersect tests.
* testsuite/gas/i386/vp2intersect-intel.d: New test.
* testsuite/gas/i386/vp2intersect.d: Likewise.
* testsuite/gas/i386/vp2intersect.s: Likewise.
* testsuite/gas/i386/vp2intersect-inval-bcast.l: Likewise.
* testsuite/gas/i386/vp2intersect-inval-bcast.s: Likewise.
* testsuite/gas/i386/x86-64-vp2intersect-intel.d: Likewise.
* testsuite/gas/i386/x86-64-vp2intersect.d: Likewise.
* testsuite/gas/i386/x86-64-vp2intersect.s: Likewise.
* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Likewise.
* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Likewise.

opcodes/

2019-06-04  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
    Lili Cui  <lili.cui@intel.com>

* i386-dis.c (enum): Add PREFIX_EVEX_0F3868, EVEX_W_0F3868_P_3.
* i386-dis-evex.h (evex_table): Add AVX512_VP2INTERSECT
instructions.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_VP2INTERSECT_FLAGS,
CPU_ANY_AVX512_VP2INTERSECT_FLAGS.
(cpu_flags): Add CpuAVX512_VP2INTERSECT.
* i386-opc.h (enum): Add CpuAVX512_VP2INTERSECT.
(i386_cpu_flags): Add cpuavx512_vp2intersect.
* i386-opc.tbl: Add AVX512_VP2INTERSECT insns.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
26 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/inval-avx512vl.l [new file with mode: 0644]
gas/testsuite/gas/i386/inval-avx512vl.s [new file with mode: 0644]
gas/testsuite/gas/i386/vp2intersect-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/vp2intersect-inval-bcast.l [new file with mode: 0644]
gas/testsuite/gas/i386/vp2intersect-inval-bcast.s [new file with mode: 0644]
gas/testsuite/gas/i386/vp2intersect.d [new file with mode: 0644]
gas/testsuite/gas/i386/vp2intersect.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-inval-avx512vl.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-inval-avx512vl.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vp2intersect-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vp2intersect.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-vp2intersect.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