From 9d8b90045a21f416a346fd183dbbe1e0ccf76cdc Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 1 Mar 2002 10:39:21 -0800 Subject: [PATCH] 981223-1.x: New. * gcc.c-torture/compile/981223-1.x: New. * gcc.c-torture/compile/920625-1.x: New. From-SVN: r50202 --- gcc/testsuite/ChangeLog | 5 ++++ .../gcc.c-torture/compile/920625-1.x | 25 +++++++++++++++++++ .../gcc.c-torture/compile/981223-1.x | 20 +++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/920625-1.x create mode 100644 gcc/testsuite/gcc.c-torture/compile/981223-1.x diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8071038f8a5..6dabbc7d4d5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-03-01 Richard Henderson + + * gcc.c-torture/compile/981223-1.x: New. + * gcc.c-torture/compile/920625-1.x: New. + 2002-02-28 Richard Henderson * 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 00000000000..c88a02e9086 --- /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 00000000000..f8d2aa6f938 --- /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 -- 2.30.2