https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #11 from CVS Commits ---
The master branch has been updated by Richard Biener :
https://gcc.gnu.org/g:7b2cf5041460859ca4f58e5da1308b7ef9129d8b
commit r13-4843-g7b2cf5041460859ca4f58e5da1308b7ef9129d8b
Author: Richard Biener
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #10 from Richard Biener ---
Interestingly the following variant of the testcase falls back to
VMAT_ELEMENTWISE but does have the same problem there fixed up by later
folding, but it will segfault when using -O2 -mavx2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #9 from bartoldeman at users dot sourceforge.net ---
I ended up using -mprefer-vector-width=128 as a workaround myself (via
__attribute__((target("prefer-vector-width=128", so there is still some AVX
vectorization.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #8 from Richard Biener ---
Peeling for gaps also isn't a good fix here. One could envision a case with
even three iterations ahead load with
for(i = 0; i < n; i++) {
dot[0] += x[ix] * y[ix] ;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #7 from Richard Biener ---
Apart from the permute issue that's maybe there the issue of the segfault is
failure to code generate the loads correctly to match the SLP analysis. We
generate loads as if we'd use a VF of 2 but use only
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
Jakub Jelinek changed:
What|Removed |Added
Summary|[11/12/13 Regression] |[11/12/13 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
Richard Biener changed:
What|Removed |Added
Keywords||needs-bisection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
--- Comment #4 from Hongtao.liu ---
(In reply to bartoldeman from comment #3)
> Created attachment 53786 [details]
> Corrected test case
>
> In my eagerness to make it as short as possible I made it too short indeed!
35 [local count:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
bartoldeman at users dot sourceforge.net changed:
What|Removed |Added
Attachment #53785|0 |1
is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451
Andrew Pinski changed:
What|Removed |Added
Known to work||10.4.0
Status|RESOLVED
10 matches
Mail list logo