public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-8128] ppc: testsuite: PROMOTE_MODE fallout pr56605 [PR102146]
Date: Wed, 13 Apr 2022 01:43:22 +0000 (GMT)	[thread overview]
Message-ID: <20220413014322.E10F73858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:6b7cc7294770ecb57c0f3a116a27ce1aaff170b5

commit r12-8128-g6b7cc7294770ecb57c0f3a116a27ce1aaff170b5
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Apr 12 22:41:45 2022 -0300

    ppc: testsuite: PROMOTE_MODE fallout pr56605 [PR102146]
    
    The test expects a compare of DImode values, but after the removal of
    PROMOTE_MODE from rs6000/, we get SImode.  Adjust the expectations.
    
    
    for  gcc/testsuite/ChangeLog
    
            PR target/102146
            * gcc.target/powerpc/pr56605.c: Accept SImode compare operand.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/pr56605.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr56605.c b/gcc/testsuite/gcc.target/powerpc/pr56605.c
index fdedbfc573d..7695f87db6f 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr56605.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr56605.c
@@ -11,5 +11,5 @@ void foo (short* __restrict sb, int* __restrict ia)
     ia[i] = (int) sb[i];
 }
 
-/* { dg-final { scan-rtl-dump-times {\(compare:CC \((?:and|zero_extend):(?:DI) \((?:sub)?reg:[SD]I} 1 "combine" } } */
+/* { dg-final { scan-rtl-dump-times {\(compare:CC \((?:and|zero_extend):(?:[SD]I) \((?:sub)?reg:[SD]I} 1 "combine" } } */


                 reply	other threads:[~2022-04-13  1:43 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=20220413014322.E10F73858D28@sourceware.org \
    --to=aoliva@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).