This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Bug: gather/scatter accepts same registers in destination/src and index
- From: Michael Zolotukhin <michael dot v dot zolotukhin at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Jan Beulich <JBeulich at suse dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 21 Jan 2014 11:31:58 +0400
- Subject: Bug: gather/scatter accepts same registers in destination/src and index
- Authentication-results: sourceware.org; auth=none
Hi HJ, Jan,
I looked at the bug, spotted by Jan:
# destination and index the same being accepted
vgatherqps ymm0{k1}, [eax+zmm0]
vpgatherqd ymm0{k1}, [eax+zmm0]
The patch is ready, and the remaining question is how to add
corresponding tests. Should they be added to 'vgather-check.s',
'x86-64-vgather-check.s' or should they be placed separately? Also,
this problem touches scatters as well, so in case we want to have a
single file for these tests, it probably should be renamed. What do
you think?
Thanks,
Michael