gcc/ * config/rs6000/rs6000 (SAVE_INLINE_VRS, REST_INLINE_VRS, V_SAVE_INLINE, SAVRES_LR, SAVRES_SAVE, SAVRES_REG, SAVRES_GPR, SAVRES_FPR, SAVRES_VR): Define. (no_global_regs_above): Delete. (no_global_regs): New function. (rs6000_savres_strategy): Handle vector regs. Use proper lr_save_p value for load multiple test. (savres_routine_syms): Increase size. (rs6000_savres_routine_name, rs6000_savres_routine_sym, ptr_regno_for_savres, rs6000_emit_savres_rtx): Pass in int selector rather than a number of boolean flags. Update all callers. (rs6000_savres_routine_name): Generate vector save/restore names. (rs6000_savres_routine_sym): Handle vector regs. Delete forward decl. (ptr_regno_for_savres, rs6000_emit_savres_rtx): Likewise. (rs6000_emit_prologue): Delete saving_FPRs_inline, saving_GPRs_inline and using_store_multiple. Expand uses. Don't always use r11 as frame reg when needed for out-of-line saves. Set up initial offset for out-of-line vector saves when buying stack frame. Handle pointer reg setup for out-of-line fp save. Emit call to out-of-line vector save function. Choose r11 or r12 for vrsave reg when available for better scheduling. (rs6000_output_function_prologue): Don't emit .extern for ELF. (rs6000_emit_epilogue): Choose a better frame reg when restoring from back-chain to suit out-of-line vector restore functions. Emit call to out-of-line vector restore function. Adjust register used for cr restore. Tweak pointer register setup for gpr restore. * config/rs6000/rs6000.h (FIRST_SAVED_GP_REGNO): Take into account FIXED_R13. * config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Simplify. (V_SAVE_INLINE): Define. * config/rs6000/altivec.md (save_vregs_*, restore_vregs_*): New insns. libgcc/ * config/rs6000/crtsavevr.S: New file. * config/rs6000/crtrestvr.S: New file. * config/rs6000/t-savresfgpr: Build the above. * config/rs6000/t-netbsd: Likewise. From-SVN: r186800
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
aix-unwind.h | Loading commit data... | |
crtresfpr.S | Loading commit data... | |
crtresgpr.S | Loading commit data... | |
crtrestvr.S | Loading commit data... | |
crtresxfpr.S | Loading commit data... | |
crtresxgpr.S | Loading commit data... | |
crtsavevr.S | Loading commit data... | |
crtsavfpr.S | Loading commit data... | |
crtsavgpr.S | Loading commit data... | |
darwin-asm.h | Loading commit data... | |
darwin-crt2.c | Loading commit data... | |
darwin-fallback.c | Loading commit data... | |
darwin-fpsave.S | Loading commit data... | |
darwin-gpsave.S | Loading commit data... | |
darwin-tramp.S | Loading commit data... | |
darwin-unwind.h | Loading commit data... | |
darwin-vecsave.S | Loading commit data... | |
darwin-world.S | Loading commit data... | |
e500crtres32gpr.S | Loading commit data... | |
e500crtres64gpr.S | Loading commit data... | |
e500crtres64gprctr.S | Loading commit data... | |
e500crtrest32gpr.S | Loading commit data... | |
e500crtrest64gpr.S | Loading commit data... | |
e500crtresx32gpr.S | Loading commit data... | |
e500crtresx64gpr.S | Loading commit data... | |
e500crtsav32gpr.S | Loading commit data... | |
e500crtsav64gpr.S | Loading commit data... | |
e500crtsav64gprctr.S | Loading commit data... | |
e500crtsavg32gpr.S | Loading commit data... | |
e500crtsavg64gpr.S | Loading commit data... | |
e500crtsavg64gprctr.S | Loading commit data... | |
eabi-ci.S | Loading commit data... | |
eabi-cn.S | Loading commit data... | |
eabi.S | Loading commit data... | |
freebsd-unwind.h | Loading commit data... | |
gthr-aix.h | Loading commit data... | |
ibm-ldouble-format | Loading commit data... | |
ibm-ldouble.c | Loading commit data... | |
libgcc-darwin.10.4.ver | Loading commit data... | |
libgcc-darwin.10.5.ver | Loading commit data... | |
libgcc-glibc.ver | Loading commit data... | |
libgcc-ibm-ldouble.ver | Loading commit data... | |
linux-unwind.h | Loading commit data... | |
ppc64-fp.c | Loading commit data... | |
sfp-machine.h | Loading commit data... | |
sol-ci.S | Loading commit data... | |
sol-cn.S | Loading commit data... | |
t-crtstuff | Loading commit data... | |
t-darwin | Loading commit data... | |
t-darwin64 | Loading commit data... | |
t-freebsd | Loading commit data... | |
t-freebsd64 | Loading commit data... | |
t-ibm-ldouble | Loading commit data... | |
t-linux | Loading commit data... | |
t-lynx | Loading commit data... | |
t-netbsd | Loading commit data... | |
t-ppc64-fp | Loading commit data... | |
t-ppccomm | Loading commit data... | |
t-savresfgpr | Loading commit data... | |
t-slibgcc-aix | Loading commit data... | |
tramp.S | Loading commit data... |