Hello!

Atom does not vectorize DFmode arrays by default, so add
-mtune=generic to dg-options to fix scan-assembler failures [1].

2011-10-05  Uros Bizjak  <ubiz...@gmail.com>

        * gcc.target/i386/avx256-unaligned-load-3.c (dg-options): Add
        -mtune=generic.
        * gcc.target/i386/avx256-unaligned-store-3.c (dg-options): Ditto.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN.

[1] http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00530.html

Uros.
Index: gcc.target/i386/avx256-unaligned-store-3.c
===================================================================
--- gcc.target/i386/avx256-unaligned-store-3.c  (revision 179535)
+++ gcc.target/i386/avx256-unaligned-store-3.c  (working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store" } */
+/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mtune=generic" 
} */
 
 #define N 1024
 
Index: gcc.target/i386/avx256-unaligned-load-3.c
===================================================================
--- gcc.target/i386/avx256-unaligned-load-3.c   (revision 179535)
+++ gcc.target/i386/avx256-unaligned-load-3.c   (working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load" } */
+/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-load -mtune=generic" } 
*/
 
 #define N 1024
 

Reply via email to