Message ID | YdirMWueBAxIOG9Y@toto.the-meissners.org |
---|---|
State | New |
Headers | show |
Series | PR 103763, Fix fold-vec-splat-floatdouble on power10. | expand |
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>
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
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 } } */ -