Enable Intel AVX512_VPOPCNTDQ instructions
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Thu, 12 Jan 2017 16:42:17 +0000 (08:42 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Jan 2017 16:44:24 +0000 (08:44 -0800)
commit620214f742f7816e2844e1bb7f78a7a684431927
treee39b951fa3ab85dd33960b110cc1cf29f2545d5d
parent3015c06465584a437261c65a397fbd8f1a71aae7
Enable Intel AVX512_VPOPCNTDQ instructions

gas/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

* config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
(cpu_noarch): Add noavx512_vpopcntdq.
* doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
* testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
* testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
* testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
* testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.

opcodes/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

* i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
* i386-dis-evex.h (evex_table): Updated.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
(cpu_flags): Add CpuAVX512_VPOPCNTDQ.
* i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
(i386_cpu_flags): Add cpuavx512_vpopcntdq.
* i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
* i386-init.h: Regenerate.
* i386-tbl.h: Ditto.
18 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/avx512_vpopcntdq-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_vpopcntdq.d [new file with mode: 0644]
gas/testsuite/gas/i386/avx512_vpopcntdq.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.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