* [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
@ 2022-08-31 9:33 Kewen.Lin
2022-08-31 14:53 ` Peter Bergner
2022-08-31 15:12 ` Segher Boessenkool
0 siblings, 2 replies; 4+ messages in thread
From: Kewen.Lin @ 2022-08-31 9:33 UTC (permalink / raw)
To: GCC Patches; +Cc: Segher Boessenkool, David Edelsohn, Peter Bergner
Hi,
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" and should leave the
"lvx" unchanged. So this is to fix the typo accordingly.
Tested on powerpc64-linux-gnu P7 and P8,
and powerpc64le-linux-gnu P9 and P10.
I'll push this soon if no objections.
BR,
Kewen
-----
PR testsuite/106682
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/pr86731-fwrapv-longlong.c: Fix typo.
---
gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
index dcb30e1d886..018e1cf9749 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr86731-fwrapv-longlong.c
@@ -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 } } */
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
2022-08-31 9:33 [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682] Kewen.Lin
@ 2022-08-31 14:53 ` Peter Bergner
2022-08-31 15:12 ` Segher Boessenkool
1 sibling, 0 replies; 4+ messages in thread
From: Peter Bergner @ 2022-08-31 14:53 UTC (permalink / raw)
To: Kewen.Lin, GCC Patches; +Cc: David Edelsohn, Segher Boessenkool
On 8/31/22 4:33 AM, Kewen.Lin via Gcc-patches wrote:
> 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" and should leave the
> "lvx" unchanged. So this is to fix the typo accordingly.
I agree. Thanks for catching this!
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
2022-08-31 9:33 [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682] Kewen.Lin
2022-08-31 14:53 ` Peter Bergner
@ 2022-08-31 15:12 ` Segher Boessenkool
2022-09-01 8:27 ` Kewen.Lin
1 sibling, 1 reply; 4+ messages in thread
From: Segher Boessenkool @ 2022-08-31 15:12 UTC (permalink / raw)
To: Kewen.Lin; +Cc: GCC Patches, David Edelsohn, Peter Bergner
On Wed, Aug 31, 2022 at 05:33:21PM +0800, Kewen.Lin wrote:
> It's meant to update "lxv" to "p?lxv" and should leave the
> "lvx" unchanged. So this is to fix the typo accordingly.
>
> I'll push this soon if no objections.
Please go ahead. Out of interest, did you see failures from this, was
it just by visual inspection, something else?
Thanks,
Segher
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682]
2022-08-31 15:12 ` Segher Boessenkool
@ 2022-09-01 8:27 ` Kewen.Lin
0 siblings, 0 replies; 4+ messages in thread
From: Kewen.Lin @ 2022-09-01 8:27 UTC (permalink / raw)
To: Segher Boessenkool, Peter Bergner; +Cc: GCC Patches, David Edelsohn
Hi Segher & Peter,
Thanks for your reviews!
on 2022/8/31 23:12, Segher Boessenkool wrote:
> On Wed, Aug 31, 2022 at 05:33:21PM +0800, Kewen.Lin wrote:
>> It's meant to update "lxv" to "p?lxv" and should leave the
>> "lvx" unchanged. So this is to fix the typo accordingly.
>>
>> I'll push this soon if no objections.
>
> Please go ahead. Out of interest, did you see failures from this, was
> it just by visual inspection, something else?
>
I did reproduce the failure for this test case on ppc64 P8 machine. :)
For the other test cases updated by commit r12-2266, I did a quick visual
inspection on them instead of actually testing them, there are some other
typos but they have been fixed by r12-2889-g8464894c86b03e.
To avoid some to escape, I just tested the other cases on ppc64 P8 and
ppc64le P9 and P10, no failures were found.
So committed as r13-2332-g023c5b36e47697. Thanks!
BR,
Kewen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-01 8:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 9:33 [PATCH] rs6000/test: Fix typo in pr86731-fwrapv-longlong.c [PR106682] Kewen.Lin
2022-08-31 14:53 ` Peter Bergner
2022-08-31 15:12 ` Segher Boessenkool
2022-09-01 8:27 ` Kewen.Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).