]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Move tests written for pr53397 from gcc.dg to gcc.target/i386
authorVenkataramanan Kumar <venkataramanan.kumar@amd.com>
Wed, 10 Oct 2012 15:31:27 +0000 (15:31 +0000)
committerVenkataramanan Kumar <vekumar@gcc.gnu.org>
Wed, 10 Oct 2012 15:31:27 +0000 (15:31 +0000)
From-SVN: r192318

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr53397-1.c [moved from gcc/testsuite/gcc.dg/pr53397-1.c with 71% similarity]
gcc/testsuite/gcc.target/i386/pr53397-2.c [moved from gcc/testsuite/gcc.dg/pr53397-2.c with 72% similarity]

index 8517d8ee1e6b7b9d2d35bdf83f906854f46cca7f..c2e2f5b8d0ea87d2e15774b3fe906a1286767ddb 100644 (file)
@@ -1,3 +1,13 @@
+2012-10-10  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
+
+       PR testsuite/53397
+       * gcc.dg/pr53397-1.c: Moved to gcc.target/i386.
+       * gcc.target/i386/pr53397-1.c: Add -msse2 to dg-options
+       and remove target info from dg-do compile.
+       * gcc.dg/pr53397-2.c: Moved to gcc.target/i386.
+       * gcc.target/i386/pr53397-2.c: Add -msse2 to dg-options
+       and remove target info from dg-do compile.
+
 2012-10-10  Greta Yorsh  <Greta.Yorsh@arm.com>
 
        * gcc.dg/pr54782.c: Require target with pthread support.
similarity index 71%
rename from gcc/testsuite/gcc.dg/pr53397-1.c
rename to gcc/testsuite/gcc.target/i386/pr53397-1.c
index abb83c6c58405d3f91f4b6f21b29502eb4195546..63650366ca2186866f9a999946c4be4c0719d3e1 100644 (file)
@@ -1,7 +1,7 @@
 /* Prefetching when the step is loop invariant.  */
-/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target sse2 } */
-/* { dg-options "-O3 -fprefetch-loop-arrays -fdump-tree-aprefetch-details --param min-insn-to-prefetch-ratio=3 --param simultaneous-prefetches=10 -fdump-tree-aprefetch-details" } */
+/* { dg-options "-O3 -msse2 -fprefetch-loop-arrays -fdump-tree-aprefetch-details --param min-insn-to-prefetch-ratio=3 --param simultaneous-prefetches=10 -fdump-tree-aprefetch-details" } */
 
 
 double data[16384];
similarity index 72%
rename from gcc/testsuite/gcc.dg/pr53397-2.c
rename to gcc/testsuite/gcc.target/i386/pr53397-2.c
index 4793ae0a6e692010ece845b9fb6adb85f68623ef..b34fafc525c60e08f49d48b398a50266b4826a27 100644 (file)
@@ -1,7 +1,7 @@
 /* Not prefetching when the step is loop variant.  */
-/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target sse2 } */
-/* { dg-options "-O3 -fprefetch-loop-arrays -fdump-tree-aprefetch-details --param min-insn-to-prefetch-ratio=3 --param simultaneous-prefetches=10 -fdump-tree-aprefetch-details" } */
+/* { dg-options "-O3 -msse2 -fprefetch-loop-arrays -fdump-tree-aprefetch-details --param min-insn-to-prefetch-ratio=3 --param simultaneous-prefetches=10 -fdump-tree-aprefetch-details" } */
 
 double data[16384];
 void donot_prefetch_when_non_constant_step_is_variant(int step, int n)