Blame SOURCES/gcc12-testsuite-typo.patch

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