]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 7 Jul 2016 17:08:00 +0000 (19:08 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 7 Jul 2016 17:08:00 +0000 (19:08 +0200)
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.

       PR target/69019
       * gcc.target/powerpc/ti_math1.c: Allow addze as well as adde.

From-SVN: r238121

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/ti_math1.c

index acfc20d68da632828dfff54cccf92b9805d2251a..2162b5448adb80a87bd34643f1fb21be9b349ba5 100644 (file)
@@ -1,3 +1,8 @@
+2016-07-07  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR target/69019
+       * gcc.target/powerpc/ti_math1.c: Allow addze as well as adde.
+
 2016-07-07  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
index cdf925100484cc230b672eb7747244982bb0fbd2..6f4ae64d870c79f1f1962fb730a58c512b35cac5 100644 (file)
@@ -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 " } } */