Add AVX512VBMI instructions
authorIlya Tocar <ilya.tocar@intel.com>
Mon, 17 Nov 2014 12:41:32 +0000 (15:41 +0300)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Nov 2014 14:03:41 +0000 (06:03 -0800)
commit14f195c9a0960335c0ff548e86e051072036cb5f
tree77d1342ffb3a16f4ae907bff723f7cbdb9a090fa
parent2cc1b5aad8defa9b5e6d9b4920c4d2ab6cf1f02e
Add AVX512VBMI instructions

gas/

* config/tc-i386.c (cpu_arch): Add .avx512vbmi.
* doc/c-i386.texi: Document it.

opcodes/

* i386-dis-evex.c (evex_table): Add vpermi2b, vpermt2b, vpermb,
vpmultishiftqb.
* i386-dis.c (PREFIX enum): Add PREFIX_EVEX_0F3883, EVEX_W_0F3883_P_2.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512VBMI_FLAGS.
(cpu_flags): Add CpuAVX512VBMI.
* i386-opc.h (enum): Add CpuAVX512VBMI.
(i386_cpu_flags): Add cpuavx512vbmi.
* i386-opc.tbl: Add vpmadd52luq, vpmultishiftqb, vpermb, vpermi2b,
vpermt2b.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

/gas/testsuite/

* gas/i386/i386.exp: Run new tests.
* gas/i386/avx512vbmi-intel.d: New file.
* gas/i386/avx512vbmi.d: Likewise.
* gas/i386/avx512vbmi.s: Likewise.
* gas/i386/avx512vbmi_vl-intel.d: Likewise.
* gas/i386/avx512vbmi_vl.d: Likewise.
* gas/i386/avx512vbmi_vl.s: Likewise.
* gas/i386/x86-64-avx512vbmi-intel.d: Likewise.
* gas/i386/x86-64-avx512vbmi.d: Likewise.
* gas/i386/x86-64-avx512vbmi.s: Likewise.
* gas/i386/x86-64-avx512vbmi_vl-intel.d: Likewise.
* gas/i386/x86-64-avx512vbmi_vl.d: Likewise.
* gas/i386/x86-64-avx512vbmi_vl.s: Likewise.
25 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/avx512vbmi-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vbmi.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vbmi.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vbmi_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vbmi_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vbmi_vl.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx512vbmi-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vbmi.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vbmi.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vbmi_vl-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vbmi_vl.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vbmi_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