public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6814] Fix fold-vec-splat-floatdouble testsuite failure on power10
Date: Sat, 22 Jan 2022 02:36:56 +0000 (GMT)	[thread overview]
Message-ID: <20220122023656.5FBD03858C60@sourceware.org> (raw)

https://gcc.gnu.org/g:abe3a4f0e9c461789b689e78d6116b1efffc1b5b

commit r12-6814-gabe3a4f0e9c461789b689e78d6116b1efffc1b5b
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Jan 21 21:36:18 2022 -0500

    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.
    
    2022-01-20  Michael Meissner  <meissner@the-meissners.org>
    
    gcc/testsuite/
    
            PR testsuite/103763
            * gcc.target/powerpc/fold-vec-splat-floatdouble.c: Fix insn regex
            on power10.

Diff:
---
 gcc/testsuite/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 } } */
-


                 reply	other threads:[~2022-01-22  2:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220122023656.5FBD03858C60@sourceware.org \
    --to=meissner@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).