aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2022-12-05 04:26:03 +0100
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-12-27 20:49:50 +0100
commit7c755fd9018821b79ddc32ee507897860510986c (patch)
treedfa796817ca72a1d5501d9fb8de6d69d355441bc /gcc/gcov-io.h
parent3895dd7675197167789e3b346057be417eede943 (diff)
downloadgcc-7c755fd9018821b79ddc32ee507897860510986c.zip
gcc-7c755fd9018821b79ddc32ee507897860510986c.tar.gz
gcc-7c755fd9018821b79ddc32ee507897860510986c.tar.bz2
riscv: Restructure callee-saved register save/restore code
This patch restructures the loop over the GP registers which saves/restores then as part of the prologue/epilogue. No functional change is intended by this patch, but it offers the possibility to use load-pair/store-pair instructions. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_next_saved_reg): New function. (riscv_is_eh_return_data_register): New function. (riscv_for_each_saved_reg): Restructure loop. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions