20030222-1.x: New file.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 2 Jul 2008 15:38:44 +0000 (15:38 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 2 Jul 2008 15:38:44 +0000 (15:38 +0000)
* gcc.c-torture/execute/20030222-1.x: New file.
* gcc.dg/tree-ssa/ssa-fre-3.c: Disable test on SPU.
* gcc.dg/lower-subreg-1.c: Likewise.

From-SVN: r137360

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030222-1.x [new file with mode: 0644]
gcc/testsuite/gcc.dg/lower-subreg-1.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-3.c

index e8175a1208385a8d81d668f74987ae5ebea08cc0..8a51dc0900d1010073f0f6678e26bbfed1c5cb8b 100644 (file)
@@ -1,3 +1,9 @@
+2008-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gcc.c-torture/execute/20030222-1.x: New file.
+       * gcc.dg/tree-ssa/ssa-fre-3.c: Disable test on SPU.
+       * gcc.dg/lower-subreg-1.c: Likewise.
+
 2008-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        SPU single-precision FP does not support subnormals:
diff --git a/gcc/testsuite/gcc.c-torture/execute/20030222-1.x b/gcc/testsuite/gcc.c-torture/execute/20030222-1.x
new file mode 100644 (file)
index 0000000..e195563
--- /dev/null
@@ -0,0 +1,6 @@
+if [istarget "spu-*-*"] {
+    # Using inline assembly to convert long long to int is not working quite
+    # right # on the SPU.  An extra shift-left-4-byte is needed.
+    return 1
+}
+return 0
index 01851268c11511c68335c688e7e2164c40a7f014..bb35d21bb506f3e8486fedcedb2f089b7affb3a5 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { ! mips64 } && { ! ia64-*-* } } } } */
+/* { dg-do compile { target { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } } } */
 /* { dg-options "-O -fdump-rtl-subreg" } */
 /* { dg-require-effective-target ilp32 } */
 
index 3b7a547a6e739de35dda565b951ce5dca22524bd..85e444886d05166fdd16c9cc7402afa12dfd353e 100644 (file)
@@ -5,7 +5,7 @@
 
    When the condition is true, we distribute "(int) (a + b)" as
    "(int) a + (int) b", otherwise we keep the original.  */
-/* { dg-do compile { target { ! mips64 } } } */
+/* { dg-do compile { target { { ! mips64 } && { ! spu-*-* } } } } */
 /* { dg-options "-O -fwrapv -fdump-tree-fre-details" } */
 
 /* From PR14844.  */