diff mbox

[testsuite] : "Fix" avx256-unaligned-{load,store}-3.c scan-assembler failures

Message ID CAFULd4ZHauxd7BhY2MgJPFdLhhzQVAB8x3mO4QU_-n_MyK1rZA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Oct. 5, 2011, 12:26 p.m. UTC
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  <ubizjak@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.
diff mbox

Patch

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