aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-01 10:39:21 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-01 10:39:21 -0800
commit9d8b90045a21f416a346fd183dbbe1e0ccf76cdc (patch)
tree4fff0eb1cc4f96695d2aa2f5852e0fa31c2ef249
parent9429c84cd61bcac5ab0b201b5f90f1c0d27102c7 (diff)
downloadgcc-9d8b90045a21f416a346fd183dbbe1e0ccf76cdc.zip
gcc-9d8b90045a21f416a346fd183dbbe1e0ccf76cdc.tar.gz
gcc-9d8b90045a21f416a346fd183dbbe1e0ccf76cdc.tar.bz2
981223-1.x: New.
* gcc.c-torture/compile/981223-1.x: New. * gcc.c-torture/compile/920625-1.x: New. From-SVN: r50202
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/920625-1.x25
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/981223-1.x20
3 files changed, 50 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8071038..6dabbc7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-01 Richard Henderson <rth@redhat.com>
+
+ * gcc.c-torture/compile/981223-1.x: New.
+ * gcc.c-torture/compile/920625-1.x: New.
+
2002-02-28 Richard Henderson <rth@redhat.com>
* g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
diff --git a/gcc/testsuite/gcc.c-torture/compile/920625-1.x b/gcc/testsuite/gcc.c-torture/compile/920625-1.x
new file mode 100644
index 0000000..c88a02e
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/920625-1.x
@@ -0,0 +1,25 @@
+# The problem on IA-64 is that if-conversion creates a sequence
+#
+# (p17) cmp.geu p6, p7 = r48, r15
+# (p16) cmp.gtu p6, p7 = r48, r15
+#
+# where p16 and p17 are complemenary, but the assembler DV validation
+# code doesn't recognize that p6 and p7 are complimentary, and so
+# we end up warning for a later use
+#
+# (p6) addl r14 = 1, r0
+# (p7) mov r14 = r0
+#
+# that appears to be a WAW violation.
+
+set torture_eval_before_compile {
+
+ set compiler_conditional_xfail_data {
+ "missing .pred.rel.mutex directive" \
+ "ia64-*-*" \
+ { "-O2" "-O3" "-Os" } \
+ { "" }
+ }
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/compile/981223-1.x b/gcc/testsuite/gcc.c-torture/compile/981223-1.x
new file mode 100644
index 0000000..f8d2aa6
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/981223-1.x
@@ -0,0 +1,20 @@
+# The problem on IA-64 is that the assembler emits
+#
+# Warning: Additional NOP may be necessary to workaround Itanium
+# processor A/B step errata
+#
+# This can be fixed by adding "-mb-step" to the command line, which
+# does in fact add the extra nop, if someone can tell me how to do
+# that for a c-torture compile test.
+
+set torture_eval_before_compile {
+
+ set compiler_conditional_xfail_data {
+ "need -mb-step" \
+ "ia64-*-*" \
+ { "-O2" "-O3" "-Os" } \
+ { "" }
+ }
+}
+
+return 0