This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: correct operand size match checks for BMI/BMI2 insns


On Wed, Mar 7, 2018 at 5:41 AM, Jan Beulich <JBeulich@suse.com> wrote:
> Some BMI/BMI2 insns allow their middle operands to be a memory one. In
> such a case, matching register types between operands 0 and 1 as well as
> 1 and 2 won't help - operands 0 and 2 also need to be checked.
>
> gas/
> 2018-03-07  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (match_template): Also match register
>         operands 0 and 2 for 3-operand forms.
>         * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
>         New.
>         * testsuite/gas/i386/i386.exp: Run new test.

OK.

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]