This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: fold various non-memory operand AVX512VL templates
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 25 Apr 2018 08:07:48 -0700
- Subject: Re: [PATCH] x86: fold various non-memory operand AVX512VL templates
- References: <5AE08F3802000078001BE7FF@prv1-mh.provo.novell.com>
On Wed, Apr 25, 2018 at 7:22 AM, Jan Beulich <JBeulich@suse.com> wrote:
> x86: fold various non-memory operand AVX512VL templates
>
> There's little point carrying up to three templates per insn flavor
> when the sole difference is operand size and the dependency on AVX512VL
> being enabled. Instead the need for AVX512VL can be derived from an
> operand allowing for ZMMword as well as one or both or XMMword and
> YMMword (irrespective of whether this is a register or memory operand).
> Without further abstraction to deal with the different Disp8MemShift
> values between the templates, only a limited set (mostly ones only
> allowing for non-memory operands) can be folded, which is being done
> here.
>
> Also drop IgnoreSize wherever possible from anything that's being
> touched anyway.
>
> gas/
> 2018-04-25 Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set
> .baseindex.
> (match_template): Don't set suffix_check when Intel syntax and
> broadcast. Make check_register a per-operand bitmap.
>
> opcodes/
> 2018-04-25 Jan Beulich <jbeulich@suse.com>
>
> * i386-opc.tbl: Fold various non-memory operand AVX512VL
> templates into their base ones.
> * i386-tlb.h: Re-generate.
>
OK.
Thanks.
H.J.