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: Bug: gather/scatter accepts same registers in destination/src and index


On Tue, Jan 21, 2014 at 5:56 AM, Michael V. Zolotukhin
<michael.v.zolotukhin@gmail.com> wrote:
> Hi,
>
>> Please make 2 patches:
>>
>> 1. Rename testcases without fixing any bugs.
>> 2. Fix the bug.
> As scatters actually don't need any changes, we don't need to rename the tests
> anymore.  Here is an updated version of the patch.  Is it ok?
>
> 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.
>

Does AVX2 gather have the similar issue?


-- 
H.J.


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