* [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.
@ 2022-01-07 21:05 Michael Meissner
2022-01-21 19:55 ` Ping: " Michael Meissner
0 siblings, 1 reply; 3+ messages in thread
From: Michael Meissner @ 2022-01-07 21:05 UTC (permalink / raw)
To: gcc-patches, Michael Meissner, Segher Boessenkool,
David Edelsohn, Bill Schmidt, Peter Bergner, Will Schmidt
Fix fold-vec-splat-floatdouble testsuite failure on power10
When I added support for generating XXSPLTIDP on December 15th, 2021, I
missed updating the fold-vec-splat-floatdouble.c test to add to the regex
for the instructions generated. This patch fixes that.
gcc/testsuite/
2022-01-07 Michael Meissner <meissner@the-meissners.org>
PR testsuite/103763
* gcc.target/powerpc/fold-vec-splat-floatdouble.c: Fix insn regex
on power10.
---
.../gcc.target/powerpc/fold-vec-splat-floatdouble.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c
index b95fa324633..01f1b0dadf3 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-floatdouble.c
@@ -21,12 +21,11 @@ vector double test_dc ()
{ const vector double y = { 3.0, 5.0 }; return vec_splat (y, 0b00001); }
/* If the source vector is a known constant, we will generate a load or possibly
- XXSPLTIW. */
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxv\M|\mplxv\M|\mxxspltiw\M} 2 } } */
+ XXSPLTIW/XXSPLTIDP. */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxv\M|\mplxv\M|\mxxspltiw\M|\mxxspltidp\M} 2 } } */
/* For float types, we generate a splat. */
/* { dg-final { scan-assembler-times {\mvspltw\M|\mxxspltw\M} 3 } } */
/* For double types, we will generate xxpermdi instructions. */
/* { dg-final { scan-assembler-times "xxpermdi" 2 } } */
-
--
2.33.1
--
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: meissner@linux.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Ping: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.
2022-01-07 21:05 [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10 Michael Meissner
@ 2022-01-21 19:55 ` Michael Meissner
2022-01-21 23:18 ` David Edelsohn
0 siblings, 1 reply; 3+ messages in thread
From: Michael Meissner @ 2022-01-21 19:55 UTC (permalink / raw)
To: Michael Meissner, gcc-patches, Segher Boessenkool,
David Edelsohn, Bill Schmidt, Peter Bergner, Will Schmidt
Ping patch
https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587924.html
| Date: Fri, 7 Jan 2022 16:05:53 -0500
| From: Michael Meissner <meissner@linux.ibm.com>
| Subject: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.
| Message-ID: <YdirMWueBAxIOG9Y@toto.the-meissners.org>
--
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: meissner@linux.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ping: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.
2022-01-21 19:55 ` Ping: " Michael Meissner
@ 2022-01-21 23:18 ` David Edelsohn
0 siblings, 0 replies; 3+ messages in thread
From: David Edelsohn @ 2022-01-21 23:18 UTC (permalink / raw)
To: Michael Meissner, GCC Patches, Segher Boessenkool,
David Edelsohn, Bill Schmidt, Peter Bergner, Will Schmidt
On Fri, Jan 21, 2022 at 2:56 PM Michael Meissner <meissner@linux.ibm.com> wrote:
>
> Ping patch
> https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587924.html
>
> | Date: Fri, 7 Jan 2022 16:05:53 -0500
> | From: Michael Meissner <meissner@linux.ibm.com>
> | Subject: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.
> | Message-ID: <YdirMWueBAxIOG9Y@toto.the-meissners.org>
This patch is okay.
Thanks, David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-21 23:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 21:05 [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10 Michael Meissner
2022-01-21 19:55 ` Ping: " Michael Meissner
2022-01-21 23:18 ` David Edelsohn
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).