[Bug target/68655] SSE2 cannot vec_perm of low and high part

2021-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #14 from Andrew

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #13 from rguenther at suse dot de --- On Fri, 4 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 > > --- Comment #12 from Jakub Jelinek --- > Author: jakub > Date: Fri Dec 4 08:25:24 2

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri Dec 4 08:25:24 2015 New Revision: 231247 URL: https://gcc.gnu.org/viewcvs?rev=231247&root=gcc&view=rev Log: PR target/68655 * config/i386/i386.c (canonicalize_vector

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #11 from rguenther at suse dot de --- On Thu, 3 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Jakub Jelinek changed: What|Removed |Added Attachment #36897|0 |1 is obsolete|

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #10 from Jakub Jelinek --- And no, precomputing the permutations isn't going to work, there are just too many of them, and the amount of permutation instructions on i?86 is huge too.

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #8 from rguenther at suse dot de --- On Thu, 3 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 > > --- Comment #7 from Jakub Jelinek --- > I guess it needs analysis. > Some examples of

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #7 from Jakub Jelinek --- I guess it needs analysis. Some examples of changes: vshuf-v16qi.c -msse2 test_2, scalar code vs. punpcklqdq, clear win vshuf-v16qi.c -msse4 test_2, pshufb -> punpcklqdq (is this a win or not?) (similarly for

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #6 from rguenther at suse dot de --- On Thu, 3 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 > > --- Comment #5 from Jakub Jelinek --- > Created attachment 36897 > --> https://gcc.

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #5 from Jakub Jelinek --- Created attachment 36897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36897&action=edit gcc6-pr68655.patch Initial untested patch. Unfortunately, it doesn't seem to be always a win, when looking at

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #4 from rguenther at suse dot de --- On Thu, 3 Dec 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 Uroš Bizjak changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 fr

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655 --- Comment #1 from Richard Biener --- typedef int v4si __attribute__((vector_size(16))); v4si bar (v4si a, v4si b) { return __builtin_shuffle (a, b, (v4si) { 0, 1, 4, 5 }); } works just fine using shufps. It might be that the generic optabs