gcc/libgcc/config/riscv
Jim Lin afdf44154f RISC-V: Only Save/Restore required registers for ILP32E/LP64E
Previously the spec
https://github.com/riscv-non-isa/riscv-toolchain-conventions/pull/70
has changed the save/restore routines to save/restore the registers which
are really used for ILP32E/LP64 rather than always save/restore all
of ra/s0/s1.

I also found here that lacks the implementation for lp64e. If it's
necessary I will file anothor patch for that.

gcc/ChangeLog:

	* config/riscv/riscv.cc (riscv_compute_frame_info): Remove the
	dedicated calculation for RVE.

libgcc/ChangeLog:

	* config/riscv/save-restore.S: Only save/restore the registers
	which are really used for ILP32E/LP64.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/save-restore-cfi-3.c: New test.
2025-09-19 07:09:21 -06:00
..
atomic.c Update copyright years. 2025-01-02 11:59:57 +01:00
crti.S RISC-V: Add .note.gnu.property for ZICFILP and ZICFISS ISA extension 2025-01-17 10:54:44 +08:00
crtn.S RISC-V: Add .note.gnu.property for ZICFILP and ZICFISS ISA extension 2025-01-17 10:54:44 +08:00
div.S Update copyright years. 2025-01-02 11:59:57 +01:00
feature_bits.c RISC-V: Drop __riscv_vendor_feature_bits 2025-02-11 18:40:41 -07:00
linux-unwind.h RISC-V: Add Zicfiss ISA extension. 2025-01-17 10:49:16 +08:00
muldi3.S Update copyright years. 2025-01-02 11:59:57 +01:00
multi3.c Update copyright years. 2025-01-02 11:59:57 +01:00
riscv-asm.h RISC-V: Add .note.gnu.property for ZICFILP and ZICFISS ISA extension 2025-01-17 10:54:44 +08:00
save-restore.S RISC-V: Only Save/Restore required registers for ILP32E/LP64E 2025-09-19 07:09:21 -06:00
sfp-machine.h Update copyright years. 2025-01-02 11:59:57 +01:00
shadow-stack-unwind.h RISC-V: Add Zicfiss ISA extension. 2025-01-17 10:49:16 +08:00
t-crtstuff Fix PR 110066: crash with -pg -static on riscv 2023-07-22 21:55:22 -07:00
t-elf RISC-V: Implement __init_riscv_feature_bits, __riscv_feature_bits, and __riscv_vendor_feature_bits 2024-10-14 17:36:14 +08:00
t-elf32
t-elf64
t-softfp32 [RISC-V] Add support for _Bfloat16 2024-05-06 15:39:12 -06:00
t-softfp64 [RISC-V] Add support for _Bfloat16 2024-05-06 15:39:12 -06:00
value-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00