public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3505] RISC-V: Fix spill-12 test
@ 2023-08-27 18:53 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-08-27 18:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6567837fd823a93f7f7948a73ff9dc1153592e8c
commit r14-3505-g6567837fd823a93f7f7948a73ff9dc1153592e8c
Author: Jeff Law <jlaw@ventanamicro.com>
Date: Sun Aug 27 12:52:38 2023 -0600
RISC-V: Fix spill-12 test
Jivan's recent work on IRA results in more efficient code for this test. This
adjusts the expected output for the removal of 5 instructions and conversion of
an addi into a simple mv.
gcc/testsuite
* gcc.target/riscv/rvv/base/spill-12.c: Update expected output.
Diff:
---
gcc/testsuite/gcc.target/riscv/rvv/base/spill-12.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-12.c b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-12.c
index de6e0604a3cd..7e83cb7b7c1c 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-12.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-12.c
@@ -15,12 +15,7 @@ void fn3 (char*);
** addi\tt0,t0,192
** add\tsp,sp,t0
** ...
-** li\ta0,-8192
-** addi\ta0,a0,192
-** li\ta5,8192
-** addi\ta5,a5,-192
-** add\ta5,a5,a0
-** add\ta0,a5,sp
+** mv\ta0,sp
** ...
** tail\t__riscv_restore_0
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-27 18:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27 18:53 [gcc r14-3505] RISC-V: Fix spill-12 test Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).