This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Bug: gather/scatter accepts same registers in destination/src and index
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Michael V. Zolotukhin" <michael dot v dot zolotukhin at gmail dot com>
- Cc: Jan Beulich <JBeulich at suse dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 21 Jan 2014 06:32:12 -0800
- Subject: Re: Bug: gather/scatter accepts same registers in destination/src and index
- Authentication-results: sourceware.org; auth=none
- References: <CANtU078XuYEQ8AnKR2BQoRSSByKLAf_TrzdpjEO=4h09U524gQ at mail dot gmail dot com> <52DE438B0200007800115421 at nat28 dot tlf dot novell dot com> <20140121111627 dot GC13904 at msticlxl57 dot ims dot intel dot com> <CAMe9rOpLKpmSR-vYpOE5RS3BDn2P7PewSVh85-zTHy4ZUxXvuA at mail dot gmail dot com> <20140121135628 dot GF13904 at msticlxl57 dot ims dot intel dot com>
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.