Commit b2a8369b by Venkataramanan Kumar Committed by Venkataramanan Kumar

Move tests written for pr53397 from gcc.dg to gcc.target/i386

From-SVN: r192318
parent 7cb7d208
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.
......
/* 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];
......
/* 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment