This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] Switch vec_init and vec_extract optabs to 2 mode optab to allow extraction of vector from vector or initialization of vector from smaller vectors (PR target/80846)
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Richard Biener <rguenther at suse dot de>, "Uros Bizjak" <ubizjak at gmail dot com>, David Edelsohn <dje dot gcc at gmail dot com>, "Segher Boessenkool" <segher at kernel dot crashing dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Andreas Krebbel <Andreas dot Krebbel at de dot ibm dot com>, Eric Botcazou <ebotcazou at libertysurf dot fr>, Andrew Jenner <andrew at codesourcery dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Sameera Deshpande <Sameera dot Deshpande at imgtec dot com>
- Date: Tue, 25 Jul 2017 21:45:21 +0000
- Subject: RE: [PATCH] Switch vec_init and vec_extract optabs to 2 mode optab to allow extraction of vector from vector or initialization of vector from smaller vectors (PR target/80846)
- Authentication-results: sourceware.org; auth=none
- References: <20170725091432.GQ2123@tucnak>
Jakub Jelinek <jakub@redhat.com> writes:
> Bootstrapped/regtested on x86_64-linux and i686-linux, where it improves
> e.g. the code generation for slp-43.c and slp-45.c testcases.
> make cc1 tested in cross-compilers to the remaining targets.
No objections for the MIPS part. I've pointed out this change to Sameera to
see how/if it will affect her autovectorization branch and whether MIPS MSA
should define more forms of vec_init/vec_expand in general.
Thanks,
Matthew