This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/56766] Fails to combine (vec_select (vec_concat ...)) to (vec_merge ...)
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 May 2013 12:41:11 +0000
- Subject: [Bug rtl-optimization/56766] Fails to combine (vec_select (vec_concat ...)) to (vec_merge ...)
- Auto-submitted: auto-generated
- References: <bug-56766-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56766
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
Created attachment 30073
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30073&action=edit
patch to recognize vec_merge
This passes bootstrap+testsuite. I had to swap tem1 and tem2 in the example,
which I think is in the wrong direction. I also had to change the addsub
pattern because it was always canonicalized to this form. I don't know if
that's what we want...