aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2023-08-27 12:38:30 -0600
committerJeff Law <jlaw@ventanamicro.com>2023-08-27 12:38:30 -0600
commitb3b13fb1cbad6e5836dee947e85d2954bcacabed (patch)
tree039aa93b5599e5d56746b531ade78527b32561c2
parent55f6a7d949abc708d1c6ebc01eb3053f96d1472b (diff)
downloadgcc-b3b13fb1cbad6e5836dee947e85d2954bcacabed.zip
gcc-b3b13fb1cbad6e5836dee947e85d2954bcacabed.tar.gz
gcc-b3b13fb1cbad6e5836dee947e85d2954bcacabed.tar.bz2
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.
-rw-r--r--gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c
index 8292999..c3253ba 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 "**" "" } } */