This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52607] v4df __builtin_shuffle with {0,2,1,3} or {1,3,0,2}
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Mar 2012 19:20:36 +0000
- Subject: [Bug target/52607] v4df __builtin_shuffle with {0,2,1,3} or {1,3,0,2}
- Auto-submitted: auto-generated
- References: <bug-52607-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52607
--- Comment #2 from Marc Glisse <marc.glisse at normalesup dot org> 2012-03-17 19:20:36 UTC ---
Created attachment 26908
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26908
copy-paste patch for 0213 and 1302
This seems to handle 0213 and 1302 (I only vaguely looked at the generated
code, can't do proper testing).
It is really a copy-paste of the function that handles 1230. I didn't try to
understand everything, so there may be things that made sense in the original
function but don't anymore here. It should be possible to merge the 2 new
functions, but merging them with the previous one looks harder.