This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix some testsuite failures on x86-64



On Nov 11, 2003, at 7:45 AM, Andreas Jaeger wrote:


============================================================
Index: gcc/testsuite/gcc.dg/i386-pentium4-not-mull.c
--- testsuite/gcc.dg/i386-pentium4-not-mull.c 16 Jul 2003 20:07:50 -0000 1.1
+++ testsuite/gcc.dg/i386-pentium4-not-mull.c 11 Nov 2003 15:45:01 -0000
@@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O2 -march=pentium4" } */
+/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler-not "imull" } } */


/* Should be done not using imull. */

This test was testing to make sure that the schedular for the pentium4
does not use imull so do not change the testcase that way but use this instead:


/* { dg-options "-O2 -march=pentium4" { target i?86-*-* } } */
/* { dg-options "-O2 -march=pentium4 -m32" { target x86_64-*-* } } */

If you want to add the test for k8, that is fine but add a new test.


Thanks, Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]