rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
authorKewen Lin <linkw@linux.ibm.com>
Thu, 1 Sep 2022 05:27:11 +0000 (00:27 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Thu, 1 Sep 2022 05:27:11 +0000 (00:27 -0500)
Commit r12-2266 updated the scanned assembly content from

  "{\mlvx\M|\mlxv\M|\mlxvd2x\M}"

to

  "{\mp?lxv\M|\mlxv\M|\mlxvd2x\M}"

for the test case pr86731-fwrapv-longlong.c unexpectedly.

It's meant to update "lxv" to "p?lxv", should leave the
"lvx" unchanged.  So fix the typo accordingly.

PR testsuite/106682

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr86731-fwrapv-longlong.c: Fix typo.

gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c

index dcb30e1..018e1cf 100644 (file)
@@ -31,5 +31,5 @@ vector signed long long splats4(void)
 
 /* { dg-final { scan-assembler-times {\mvspltis[bhw]\M} 0 } } */
 /* { dg-final { scan-assembler-times {\mvsl[bhwd]\M} 0 } } */
-/* { dg-final { scan-assembler-times {\mp?lxv\M|\mlxv\M|\mlxvd2x\M|\mxxspltidp\M} 2 } } */
+/* { dg-final { scan-assembler-times {\mp?lxv\M|\mlvx\M|\mlxvd2x\M|\mxxspltidp\M} 2 } } */