[PATCH] Enable Intel AVX512_VPOPCNTDQ instructions

Igor Tsimbalist tigor.tools@gmail.com
Tue Dec 20 17:54:00 GMT 2016


 gas/

  * 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: Ditto.
  * 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/

  * 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.
---
 gas/config/tc-i386.c                               |     3 +
 gas/doc/c-i386.texi                                |     4 +-
 gas/testsuite/gas/i386/avx512_vpopcntdq-intel.d    |    68 +
 gas/testsuite/gas/i386/avx512_vpopcntdq.d          |    68 +
 gas/testsuite/gas/i386/avx512_vpopcntdq.s          |    63 +
 gas/testsuite/gas/i386/i386.exp                    |     4 +
 .../gas/i386/x86-64-avx512_vpopcntdq-intel.d       |    68 +
 gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.d   |    68 +
 gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s   |    63 +
 opcodes/i386-dis-evex.h                            |    13 +-
 opcodes/i386-dis.c                                 |     2 +
 opcodes/i386-gen.c                                 |     7 +-
 opcodes/i386-init.h                                |   278 +-
 opcodes/i386-opc.h                                 |     3 +
 opcodes/i386-opc.tbl                               |    10 +-
 opcodes/i386-tbl.h                                 | 10450 ++++++++++---------
 16 files changed, 5827 insertions(+), 5345 deletions(-)
 create mode 100644 gas/testsuite/gas/i386/avx512_vpopcntdq-intel.d
 create mode 100644 gas/testsuite/gas/i386/avx512_vpopcntdq.d
 create mode 100644 gas/testsuite/gas/i386/avx512_vpopcntdq.s
 create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq-intel.d
 create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.d
 create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_vpopcntdq.s

Ok for master?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-Intel-AVX512_VPOPCNTDQ-instructions.patch
Type: application/octet-stream
Size: 39199 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161220/d363a27c/attachment.obj>


More information about the Binutils mailing list