public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] RISC-V: Fix xtheadcondmov-indirect.c
@ 2023-08-27 18:40 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-08-27 18:40 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]


The pressure sensitive scheduling change perturbs the output ever so 
slightly for this test.  Seemed easiest to just turn that off rather 
than generalize the expected output enough to work across all the 
relevant optimization options.

Pushed to the trunk.

Jeff

[-- Attachment #2: P --]
[-- Type: text/plain, Size: 1340 bytes --]

commit b3b13fb1cbad6e5836dee947e85d2954bcacabed
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Sun Aug 27 12:38:30 2023 -0600

    RISC-V: Fix xtheadcondmov-indirect.c
    
    The pressure sensitive scheduling change perturbs the output ever so slightly
    for this test.  Seemed easiest to just turn that off rather than generalize the
    expected output enough to work across all the relevant optimization options.
    
    gcc/testsuite/
            * gcc.target/riscv/xtheadcondmov-indirect.c: Turn off pressure
            sensitive scheduling.

diff --git a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c
index 8292999d0c7..c3253ba5239 100644
--- a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c
+++ b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-march=rv32gc_xtheadcondmov" { target { rv32 } } } */
-/* { dg-options "-march=rv64gc_xtheadcondmov" { target { rv64 } } } */
+/* { dg-options "-march=rv32gc_xtheadcondmov -fno-sched-pressure" { target { rv32 } } } */
+/* { dg-options "-march=rv64gc_xtheadcondmov -fno-sched-pressure" { target { rv64 } } } */
 /* { dg-skip-if "" { *-*-* } {"-O0" "-Os" "-Og" "-Oz" "-flto" } } */
 /* { dg-final { check-function-bodies "**" "" } } */
 

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

only message in thread, other threads:[~2023-08-27 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27 18:40 [committed] RISC-V: Fix xtheadcondmov-indirect.c Jeff Law

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