public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8128] ppc: testsuite: PROMOTE_MODE fallout pr56605 [PR102146]
@ 2022-04-13  1:43 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-04-13  1:43 UTC (permalink / raw)
  To: gcc-cvs

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" } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-13  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13  1:43 [gcc r12-8128] ppc: testsuite: PROMOTE_MODE fallout pr56605 [PR102146] Alexandre Oliva

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).