[committed] RISC-V: Fix spill-11.c testsuite failure

Message ID 8e784353-c7d4-b125-7d48-005efee26438@ventanamicro.com
State Accepted
Headers
Series [committed] RISC-V: Fix spill-11.c testsuite failure |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Jeff Law Aug. 27, 2023, 7:01 p.m. UTC
  Jivan's work also results in using a different save/restore function for 
the spill-11 test.  So the expected output needs minor adjusting.

Committed to the trunk.

Jeff
commit 3745feb19ed072e0865b12a891d7dbf7ba12c337
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Sun Aug 27 13:00:13 2023 -0600

    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.
  

Patch

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 179be1c8c5b..484a2510885 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,