fold-vec-mult-int128-p8.c: Update options
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Tue, 10 Oct 2017 19:06:13 +0000 (19:06 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Tue, 10 Oct 2017 19:06:13 +0000 (19:06 +0000)
2017-10-10  Will Schmidt <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/fold-vec-mult-int128-p8.c: Update options
* gcc.target/powerpc/fold-vec-mult-int128-p9.c: Update expected
instruction list.

From-SVN: r253606

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c

index 0cc5e32bdff4e4e589690f0986f7fff7a8ece9ae..cd7363be24670b0837fe6218467b48d356da06d5 100644 (file)
@@ -1,3 +1,9 @@
+2017-10-10  Will Schmidt <will_schmidt@vnet.ibm.com>
+
+       * gcc.target/powerpc/fold-vec-mult-int128-p8.c: Update options
+       * gcc.target/powerpc/fold-vec-mult-int128-p9.c: Update expected
+       instruction list.
+
 2017-10-10  Nathan Sidwell  <nathan@acm.org>
 
        PR preprocessor/82506
index 97d6b945f43efc9850b8c0861bd38c738ce93f37..b1cf0a78628a7c8a889b397672aff1f9b10ecd0e 100644 (file)
@@ -5,7 +5,8 @@
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-require-effective-target int128 } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-mpower8-vector" } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
+/* { dg-options "-mpower8-vector -mcpu=power8 -O2" } */
 /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */
 
 #include "altivec.h"
@@ -22,5 +23,5 @@ test2 (vector unsigned __int128 x, vector unsigned __int128 y)
   return vec_mul (x, y);
 }
 
-/* { dg-final { scan-assembler-times "\[ \t\]mulld " 6 } } */
-/* { dg-final { scan-assembler-times "\[ \t\]mulhdu" 2 } } */
+/* { dg-final { scan-assembler-times {\mmulld\M} 6 } } */
+/* { dg-final { scan-assembler-times {\mmulhdu\M} 2 } } */
index e81ea5f3134336eb5b370738108f156da4b17f9f..657188435d4c90509fc0bcb96443378a29a218c8 100644 (file)
@@ -2,10 +2,10 @@
    inputs produce the right results.  */
 
 /* { dg-do compile } */
-/* { dg-require-effective-target powerpc_float128_hw_ok } */
+/* { dg-require-effective-target powerpc_p9vector_ok } */
 /* { dg-require-effective-target int128 } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
-/* { dg-options "-mcpu=power9 -O2" } */
+/* { dg-options "-mpower9-vector -mcpu=power9 -O2" } */
 /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */
 
 #include "altivec.h"
@@ -22,4 +22,5 @@ test2 (vector unsigned __int128 x, vector unsigned __int128 y)
   return vec_mul (x, y);
 }
 
-/* { dg-final { scan-assembler-times "\[ \t\]xsmulqp" 2 } } */
+/* { dg-final { scan-assembler-times {\mmulld\M} 4 } } */
+/* { dg-final { scan-assembler-times {\mmulhdu\M} 2 } } */