3 Aug 2012 22:47
[rtl, i386] combine concat+permutation
Marc Glisse <marc.glisse <at> inria.fr>
2012-08-03 20:47:25 GMT
2012-08-03 20:47:25 GMT
Hello, this is a follow up to the patch applied after this discussion: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00504.html It handles the -mavx __builtin_shuffle case mentioned there. It passes bootstrap (languages=c,c++) and regtest on x86_64. 2012-08-04 Marc Glisse <marc.glisse <at> inria.fr> gcc/ * simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle of a concatenation. gcc/testsuite/ * gcc.target/i386/perm-concat.c: New test. -- -- Marc Glisse
Index: gcc/testsuite/gcc.target/i386/perm-concat.c
===================================================================
--- gcc/testsuite/gcc.target/i386/perm-concat.c (revision 0)
+++ gcc/testsuite/gcc.target/i386/perm-concat.c (revision 0)
<at> <at> -0,0 +1,13 <at> <at>
+/* { dg-do compile } */
+/* { dg-options "-O -mavx -mfpmath=sse" } */
+
+typedef double v2df __attribute__ ((__vector_size__ (16)));
(Continue reading)
RSS Feed