This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Enable Intel AVX512_VPOPCNTDQ instructions
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Igor Tsimbalist <tigor dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 9 Jan 2017 09:26:17 -0800
- Subject: Re: [PATCH] Enable Intel AVX512_VPOPCNTDQ instructions
- Authentication-results: sourceware.org; auth=none
- References: <CACwv7=jiO5_+jj9DphE6=wzYL5WQQUquj7-A0gjOYQjkJJkHkg@mail.gmail.com>
On Tue, Dec 20, 2016 at 9:54 AM, Igor Tsimbalist <tigor.tools@gmail.com> wrote:
> 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?
OK.
Thanks.
--
H.J.