rs6000: Fix tests for xvmadd and xvnmsub
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 28 Oct 2015 04:33:03 +0000 (05:33 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 28 Oct 2015 04:33:03 +0000 (05:33 +0100)
The patterns involved can create vmadd resp. vnmsub instructions instead.
This patch changes the testcases to allow those.

2015-10-26  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
* gcc.target/powerpc/vsx-builtin-2.c: Allow vmadd and vnmsub as well
as xvmadd and xvnmsub.
* gcc.target/powerpc/vsx-vector-2.c: Allow vmadd as well as xvmadd.

From-SVN: r229473

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vsx-builtin-2.c
gcc/testsuite/gcc.target/powerpc/vsx-vector-2.c

index 0eec83b596ace6ac2049a1587c697a8d035979a6..4bb5b3059ec79cb2200189a3fbdc64a86198c035 100644 (file)
@@ -1,3 +1,9 @@
+2015-10-28  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * gcc.target/powerpc/vsx-builtin-2.c: Allow vmadd and vnmsub as well
+       as xvmadd and xvnmsub.
+       * gcc.target/powerpc/vsx-vector-2.c: Allow vmadd as well as xvmadd.
+
 2015-10-27  Cesar Philippidis  <cesar@codesourcery.com>
 
        * c-c++-common/goacc/loop-shape.c: New test.
index d5d1e2de3fc73a75602bc0623952d99042a52557..7b5ad7df30ef4dfc1fb15b9e91495ca4079e783f 100644 (file)
@@ -6,10 +6,10 @@
 /* { dg-final { scan-assembler "xvaddsp" } } */
 /* { dg-final { scan-assembler "xvsubsp" } } */
 /* { dg-final { scan-assembler "xvmulsp" } } */
-/* { dg-final { scan-assembler "xvmadd" } } */
+/* { dg-final { scan-assembler "vmadd" } } */
 /* { dg-final { scan-assembler "xvmsub" } } */
 /* { dg-final { scan-assembler "xvnmadd" } } */
-/* { dg-final { scan-assembler "xvnmsub" } } */
+/* { dg-final { scan-assembler "vnmsub" } } */
 /* { dg-final { scan-assembler "xvdivsp" } } */
 /* { dg-final { scan-assembler "xvmaxsp" } } */
 /* { dg-final { scan-assembler "xvminsp" } } */
index db3aa38e6332dd6dda7fe5dd842d107d1ef092fe..34dbd57a29cbbdeacfce55fa400339dc192b3c40 100644 (file)
@@ -7,7 +7,7 @@
 /* { dg-final { scan-assembler "xvsubsp" } } */
 /* { dg-final { scan-assembler "xvmulsp" } } */
 /* { dg-final { scan-assembler "xvdivsp" } } */
-/* { dg-final { scan-assembler "xvmadd" } } */
+/* { dg-final { scan-assembler "vmadd" } } */
 /* { dg-final { scan-assembler "xvmsub" } } */
 /* { dg-final { scan-assembler "xvsqrtsp" } } */
 /* { dg-final { scan-assembler "xvcpsgnsp" } } */