* rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019)
@ 2016-07-07 17:08 Segher Boessenkool
0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2016-07-07 17:08 UTC (permalink / raw)
To: gcc-patches
Hi all,
This testcase currently fails on GCC 5, for LE only. Since it is fixed
for 6 and later, and backporting the relevant code is rather invasive,
let's just weaken the testcase for GCC 5 instead.
Segher
2016-07-07 Segher Boessenkool <segher@kernel.crashing.org>
PR target/69019
* gcc.target/powerpc/ti_math1.c: Allow addze as well as adde.
Index: gcc/testsuite/gcc.target/powerpc/ti_math1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/ti_math1.c (revision 238117)
+++ gcc/testsuite/gcc.target/powerpc/ti_math1.c (working copy)
@@ -1,7 +1,7 @@
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-times "addc" 1 } } */
-/* { dg-final { scan-assembler-times "adde" 1 } } */
+/* { dg-final { scan-assembler-times "addz?e" 1 } } */
/* { dg-final { scan-assembler-times "subfc" 1 } } */
/* { dg-final { scan-assembler-times "subfe" 1 } } */
/* { dg-final { scan-assembler-not "subf " } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-07 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07 17:08 rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019) Segher Boessenkool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).