]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix xtheadcondmov-indirect.c
authorJeff Law <jlaw@ventanamicro.com>
Sun, 27 Aug 2023 18:38:30 +0000 (12:38 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sun, 27 Aug 2023 18:38:30 +0000 (12:38 -0600)
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.

gcc/testsuite/gcc.target/riscv/xtheadcondmov-indirect.c

index 8292999d0c7cffd5859df271192ee8c0524aff97..c3253ba5239f667f407a31826d134d907cc14192 100644 (file)
@@ -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 "**" "" } } */