[PATCH] x86/Intel: fix fallout from earlier template folding

H.J. Lu hjl.tools@gmail.com
Wed Mar 21 15:55:00 GMT 2018


On Wed, Mar 21, 2018 at 1:27 AM, Jan Beulich <JBeulich@suse.com> wrote:
> While many templates allowing multiple suitably matching XMM/YMM/ZMM
> operand sizes can be folded, a few need to be split in order to not
> wrongly accept "xmmword ptr" operands when only XMM registers are
> permitted (and memory operands are more narrow). Add a test case
> validating this.
>
> gas/
> 2018-03-21  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (match_mem_size): Extend sub-xmmword
>         exceptions.
>         * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
>         New.
>         * testsuite/gas/i386/i386.exp: Run new test.
>
> opcodes/
> 2018-03-21  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd): Use separate
>         templates allowing memory operands and folded ones for register
>         only flavors.
>         * i386-tlb.h: Re-generate.
>

OK.

Thanks.

-- 
H.J.



More information about the Binutils mailing list