This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/2] Enable Intel AVX512_4FMAPS 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: Wed, 2 Nov 2016 11:04:06 -0700
- Subject: Re: [PATCH 1/2] Enable Intel AVX512_4FMAPS instructions.
- Authentication-results: sourceware.org; auth=none
- References: <CACwv7=hfi87RWE3oVA3Ev7r7b1-bcpUEcJcizW5PDuDMFk3Spw@mail.gmail.com>
On Wed, Nov 2, 2016 at 9:51 AM, Igor Tsimbalist <tigor.tools@gmail.com> wrote:
> gas/
>
> * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
> (cpu_noarch): Add noavx512_4fmaps.
> (process_operands): Handle implicit quad group.
> * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
> * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
> * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
> * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
> * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
> * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
> * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
> * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
> * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
> * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
> * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
> * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
> * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
>
> opcodes/
>
> * i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
> PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
> * i386-dis-evex.h (evex_table): Updated.
> * i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
> CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
> (cpu_flags): Add CpuAVX512_4FMAPS.
> (opcode_modifiers): Add ImplicitQuadGroup modifier.
> * i386-opc.h (AVX512_4FMAP): New.
> (i386_cpu_flags): Add cpuavx512_4fmaps.
> (ImplicitQuadGroup): New.
> (i386_opcode_modifier): Add implicitquadgroup.
> * i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
> * i386-init.h: Regenerate.
> * i386-tbl.h: Ditto.
> ---
> gas/config/tc-i386.c | 22 +
> gas/doc/c-i386.texi | 8 +-
> gas/testsuite/gas/i386/avx512_4fmaps-intel.d | 79 +
> gas/testsuite/gas/i386/avx512_4fmaps-warn.l | 13 +
> gas/testsuite/gas/i386/avx512_4fmaps-warn.s | 23 +
> gas/testsuite/gas/i386/avx512_4fmaps.d | 79 +
> gas/testsuite/gas/i386/avx512_4fmaps.s | 75 +
> gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d | 78 +
> gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.l | 13 +
> gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.s | 23 +
> gas/testsuite/gas/i386/avx512_4fmaps_vl.d | 78 +
> gas/testsuite/gas/i386/avx512_4fmaps_vl.s | 74 +
> gas/testsuite/gas/i386/i386.exp | 12 +
> .../gas/i386/x86-64-avx512_4fmaps-intel.d | 79 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l | 7 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s | 13 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps.d | 79 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s | 75 +
> .../gas/i386/x86-64-avx512_4fmaps_vl-intel.d | 79 +
> .../gas/i386/x86-64-avx512_4fmaps_vl-warn.l | 13 +
> .../gas/i386/x86-64-avx512_4fmaps_vl-warn.s | 23 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d | 79 +
> gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s | 75 +
> opcodes/i386-dis-evex.h | 4 +
> opcodes/i386-gen.c | 8 +-
> opcodes/i386-init.h | 270 +-
> opcodes/i386-opc.h | 9 +
> opcodes/i386-opc.tbl | 16 +
> opcodes/i386-tbl.h | 21016 ++++++++++---------
> 29 files changed, 11858 insertions(+), 10564 deletions(-)
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-intel.d
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-warn.l
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps-warn.s
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps.d
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps.s
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-intel.d
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.l
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl-warn.s
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl.d
> create mode 100644 gas/testsuite/gas/i386/avx512_4fmaps_vl.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s
OK for master.
Thanks.
--
H.J.