i386-387-7.c, [...]: Skip x86 tests for -m64.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 6 Apr 2005 17:07:08 +0000 (18:07 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 6 Apr 2005 17:07:08 +0000 (18:07 +0100)
* gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c,
gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for
-m64.
* gcc.dg/loop-3.c, gcc.dg/short-compare-1.c,
gcc.dg/short-compare-2.c, gcc.dg/smod-1.c,
gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64.

From-SVN: r97731

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/i386-387-7.c
gcc/testsuite/gcc.dg/i386-3dnowA-1.c
gcc/testsuite/gcc.dg/i386-3dnowA-2.c
gcc/testsuite/gcc.dg/loop-3.c
gcc/testsuite/gcc.dg/pr12092-1.c
gcc/testsuite/gcc.dg/short-compare-1.c
gcc/testsuite/gcc.dg/short-compare-2.c
gcc/testsuite/gcc.dg/smod-1.c
gcc/testsuite/gcc.dg/torture/badshift.c

index e70b4b2c41a5fb946b18304dd82e7a0f43dfeb9b..5715b0ebead43de667d2b708b00db1673ee51064 100644 (file)
@@ -1,3 +1,12 @@
+2005-04-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c,
+       gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for
+       -m64.
+       * gcc.dg/loop-3.c, gcc.dg/short-compare-1.c,
+       gcc.dg/short-compare-2.c, gcc.dg/smod-1.c,
+       gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64.
+
 2005-04-06  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/20212
index 210917ad415acec080b5480b6ce5cfdb130f42f9..1a40cd719d894605dab3d9ed71eee111082fdabe 100644 (file)
@@ -1,5 +1,6 @@
 /* Verify that 387 fsincos instruction is generated.  */
 /* { dg-do compile { target "i?86-*-*" } } */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O -ffast-math -march=i686" } */
 /* { dg-final { scan-assembler "fsincos" } } */
 
index 2ae1a04d5cbbd1b1da4e3b79e9cc59bc0ffcd1db..b5327b3d9ec1f38b454140986a116690694090c1 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do assemble { target i?86-*-* } } */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow -march=athlon" } */
 
 /* Test that the intrinsics compile with optimization.  All of them are
index d8ed6cb4c4db41ca6dc77524b468519275326b68..ea336af414718d50ce3e4c6cfc232e823ff69070 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do assemble { target i?86-*-* } } */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O0 -Werror-implicit-function-declaration -m3dnow -march=athlon" } */
 
 /* Test that the intrinsics compile without optimization.  All of them are
index 3cc6643e15df936c1286fcd32054204d619314fd..f7ceaddb8994e9fbdc76b4ebfcdc2d47a50e3233 100644 (file)
@@ -3,7 +3,7 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O3" } */
-/* { dg-options "-O3 -mtune=i386" { target i?86-*-* } } */
+/* { dg-options "-O3 -mtune=i386" { target { i?86-*-* && ilp32 } } } */
 
 #if defined(STACK_SIZE) && (STACK_SIZE < 65536)
 # define BYTEMEM_SIZE 10000L
index 8f38a4a7f46c378f52ba0c6e06aaeb7a73256dd6..1b29452881f37d41d9fbe6cbd0c98dd33ed54eb3 100644 (file)
@@ -1,6 +1,7 @@
 /* PR rtl-optimization/12092  */
 /* Test case reduced by Andrew Pinski <pinskia@physics.uc.edu> */
 /* { dg-do compile { target i?86-*-* } } */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -mtune=i486 -march=pentium4 -fprefetch-loop-arrays" } */
 
 void DecodeAC(int index,int *matrix)
index 6a4e388d179610613ef3b50bfce5f99d8c057ae9..7ecca243a7ceba0e9e94695aba5eaf53c0429cb7 100644 (file)
@@ -3,7 +3,7 @@
 
 /* { dg-do run } */
 /* { dg-options "-O" } */
-/* { dg-options "-O -mtune=i686" { target i?86-*-* } } */
+/* { dg-options "-O -mtune=i686" { target { i?86-*-* && ilp32 } } } */
 /* { dg-options "-O -m32 -mtune=i686" { target x86_64-*-* } } */
 
 extern void abort(void);
index 1c5963c5a2f231a50dc5b01a0853cb9d8eac6044..736e1510e8d39d26d474caf3903e4f0de4efe36d 100644 (file)
@@ -4,7 +4,7 @@
 
 /* { dg-do run } */
 /* { dg-options "-O" } */
-/* { dg-options "-O -mtune=i686" { target i?86-*-* } } */
+/* { dg-options "-O -mtune=i686" { target { i?86-*-* && ilp32 } } } */
 /* { dg-options "-O -m32 -mtune=i686" { target x86_64-*-* } } */
 
 extern void abort();
index 268b43bd2ab2835160cd434738fe8706e98261a1..e75978af5958433b632a352f0d2fa3ba01c382a9 100644 (file)
@@ -3,7 +3,7 @@
 
 /* { dg-do run } */
 /* { dg-options "-std=c99" } */
-/* { dg-options "-std=c99 -mtune=i486" { target i?86-*-* } } */
+/* { dg-options "-std=c99 -mtune=i486" { target { i?86-*-* && ilp32 } } } */
 
 #include <limits.h>
 
index d656ed65b88598b8803707bc8991cf30c1f1a0b0..dec71cfa2d1d718f0ddd25e51376867996156ab0 100644 (file)
@@ -2,7 +2,7 @@
 
 /* { dg-do run } */
 /* { dg-options "" } */
-/* { dg-options "-march=i386" { target i?86-*-* } } */
+/* { dg-options "-march=i386" { target { i?86-*-* && ilp32 } } } */
 
 /* We used to optimize the DImode shift-by-32 to zero because in combine
    we turned: