[PATCH] PR gas/16489: GAS doesn't complain about same register used for destination and index in AVX512 gather insn

H.J. Lu hjl.tools@gmail.com
Wed Jan 22 18:02:00 GMT 2014


On Wed, Jan 22, 2014 at 9:51 AM, Michael V. Zolotukhin
<michael.v.zolotukhin@gmail.com> wrote:
>> Please submit a separate patch for assert change.  I
>> will take a closer look later.
> Ok, here is the fix for the PR16489 without change in this assert.  Ok for
> trunk?
>
> gas/Changelog:
> 2014-01-21  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
>
>         * config/tc-i386.c (check_VecOperands): Add check for invalid
>         register set in AVX512 gathers.
>
> gas/testsuite/Changelog:
> 2014-01-21  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
>         * gas/i386/vgather-check.s: Add tests for AVX512 gathers.
>         * gas/i386/x86-64-vgather-check.s: Likewise.
>         * gas/i386/vgather-check-error.l: Update correspondingly.
>         * gas/i386/vgather-check-none.d: Likewise.
>         * gas/i386/vgather-check-warn.d: Likewise.
>         * gas/i386/vgather-check-warn.e: Likewise.
>         * gas/i386/vgather-check.d: Likewise.
>         * gas/i386/x86-64-vgather-check-error.l: Likewise.
>         * gas/i386/x86-64-vgather-check-none.d: Likewise.
>         * gas/i386/x86-64-vgather-check-warn.d: Likewise.
>         * gas/i386/x86-64-vgather-check-warn.e: Likewise.
>         * gas/i386/x86-64-vgather-check.d: Likewise.
>

I checked it in for you.  I changed ChangeLog to

2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

PR gas/16489

Please remember use the correct date and PR # next time.

Thanks.

-- 
H.J.



More information about the Binutils mailing list