Blame SOURCES/gcc12-testsuite-typo.patch

db712d
From 023c5b36e476976cb3b45ff32c7c64990c5a6d45 Mon Sep 17 00:00:00 2001
db712d
From: Kewen Lin <linkw@linux.ibm.com>
db712d
Date: Thu, 1 Sep 2022 00:27:11 -0500
db712d
Subject: [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
db712d
db712d
Commit r12-2266 updated the scanned assembly content from
db712d
db712d
  "{\mlvx\M|\mlxv\M|\mlxvd2x\M}"
db712d
db712d
to
db712d
db712d
  "{\mp?lxv\M|\mlxv\M|\mlxvd2x\M}"
db712d
db712d
for the test case pr86731-fwrapv-longlong.c unexpectedly.
db712d
db712d
It's meant to update "lxv" to "p?lxv", should leave the
db712d
"lvx" unchanged.  So fix the typo accordingly.
db712d
db712d
	PR testsuite/106682
db712d
db712d
gcc/testsuite/ChangeLog:
db712d
db712d
	* gcc.target/powerpc/pr86731-fwrapv-longlong.c: Fix typo.
db712d
---
db712d
 gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c | 2 +-
db712d
 1 file changed, 1 insertion(+), 1 deletion(-)
db712d
db712d
diff --git a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
db712d
index dcb30e1d886..018e1cf9749 100644
db712d
--- a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
db712d
+++ b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
db712d
@@ -31,5 +31,5 @@ vector signed long long splats4(void)
db712d
 
db712d
 /* { dg-final { scan-assembler-times {\mvspltis[bhw]\M} 0 } } */
db712d
 /* { dg-final { scan-assembler-times {\mvsl[bhwd]\M} 0 } } */
db712d
-/* { dg-final { scan-assembler-times {\mp?lxv\M|\mlxv\M|\mlxvd2x\M|\mxxspltidp\M} 2 } } */
db712d
+/* { dg-final { scan-assembler-times {\mp?lxv\M|\mlvx\M|\mlxvd2x\M|\mxxspltidp\M} 2 } } */
db712d
 
db712d
-- 
db712d
2.31.1
db712d