From 3745feb19ed072e0865b12a891d7dbf7ba12c337 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 27 Aug 2023 13:00:13 -0600 Subject: [PATCH] RISC-V: Fix spill-11.c testsuite failure 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c index 179be1c8c5bc..484a25108852 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c @@ -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, -- 2.47.2