From 62ffa8afe465a824bc303c37994358115f478712 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 5 May 2011 13:50:17 +0200 Subject: [PATCH] opt-1.c: Add --param min-insn-to-prefetch -ratio=0 to dg-options. * gcc.target/i386/opt-1.c: Add --param min-insn-to-prefetch -ratio=0 to dg-options. * gcc.target/i386/opt-1.c: Ditto. From-SVN: r173425 --- gcc/testsuite/ChangeLog | 8 +++++++- gcc/testsuite/gcc.target/i386/opt-1.c | 2 +- gcc/testsuite/gcc.target/i386/opt-2.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ff8b0f563f..5218e7d19a5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-05-05 Uros Bizjak + + * gcc.target/i386/opt-1.c: Add --param min-insn-to-prefetch -ratio=0 + to dg-options. + * gcc.target/i386/opt-1.c: Ditto. + 2011-05-04 Jason Merrill * g++.dg/conversion/base1.C: New. @@ -5,7 +11,7 @@ 2011-05-04 Jerry DeLisle PR libgfortran/48787 - gfortran.dg/round_3.f08: Add more checks to test case. + * gfortran.dg/round_3.f08: Add more checks to test case. 2011-05-04 Hans-Peter Nilsson diff --git a/gcc/testsuite/gcc.target/i386/opt-1.c b/gcc/testsuite/gcc.target/i386/opt-1.c index 28e2ef38c34..2585236a6bc 100644 --- a/gcc/testsuite/gcc.target/i386/opt-1.c +++ b/gcc/testsuite/gcc.target/i386/opt-1.c @@ -1,7 +1,7 @@ /* Test the attribute((optimize)) really works. Do this test by checking whether we vectorize a simple loop. */ /* { dg-do compile } */ -/* { dg-options "-O1 -msse2 -mfpmath=sse -march=k8" } */ +/* { dg-options "-O1 -msse2 -mfpmath=sse -march=k8 --param min-insn-to-prefetch-ratio=0" } */ /* { dg-final { scan-assembler "prefetcht0" } } */ /* { dg-final { scan-assembler "addps" } } */ /* { dg-final { scan-assembler "subss" } } */ diff --git a/gcc/testsuite/gcc.target/i386/opt-2.c b/gcc/testsuite/gcc.target/i386/opt-2.c index d2791e071c3..1fa18c1f978 100644 --- a/gcc/testsuite/gcc.target/i386/opt-2.c +++ b/gcc/testsuite/gcc.target/i386/opt-2.c @@ -1,7 +1,7 @@ /* Test the attribute((optimize)) really works. Do this test by checking whether we vectorize a simple loop. */ /* { dg-do compile } */ -/* { dg-options "-O1 -msse2 -mfpmath=sse -march=k8" } */ +/* { dg-options "-O1 -msse2 -mfpmath=sse -march=k8 --param min-insn-to-prefetch-ratio=0" } */ /* { dg-final { scan-assembler "prefetcht0" } } */ /* { dg-final { scan-assembler "addps" } } */ /* { dg-final { scan-assembler "subss" } } */ -- 2.30.2