]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix spill-11.c testsuite failure
authorJeff Law <jlaw@ventanamicro.com>
Sun, 27 Aug 2023 19:00:13 +0000 (13:00 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sun, 27 Aug 2023 19:00:13 +0000 (13:00 -0600)
Jivan's work also results in using a different save/restore function for the
spill-11 test.  So the expected output needs minor adjusting

gcc/testsuite
* gcc.target/riscv/rvv/base/spill-11.c: Adjust expected output.

gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c

index 179be1c8c5bcbeaceab470b48899d27f105d1667..484a25108852e208abce174ca50908932765a43d 100644 (file)
@@ -9,7 +9,7 @@ void fn3 (char*);
 
 /*
 ** stack_save_restore_2:
-**     call\tt0,__riscv_save_2
+**     call\tt0,__riscv_save_1
 **     csrr\tt0,vlenb
 **     slli\tt1,t0,1
 **     sub\tsp,sp,t1
@@ -23,7 +23,7 @@ void fn3 (char*);
 **     li\tt0,8192
 **     addi\tt0,t0,-192
 **     add\tsp,sp,t0
-**     tail\t__riscv_restore_2
+**     tail\t__riscv_restore_1
 */
 int stack_save_restore_2 (float a1, float a2, float a3, float a4,
                       float a5, float a6, float a7, float a8,