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 |
|---|---|---|
| .. | ||
| alpha | Loading commit data... | |
| arm | Loading commit data... | |
| avr | Loading commit data... | |
| bfin | Loading commit data... | |
| c6x | Loading commit data... | |
| cr16 | Loading commit data... | |
| cris | Loading commit data... | |
| epiphany | Loading commit data... | |
| fr30 | Loading commit data... | |
| frv | Loading commit data... | |
| h8300 | Loading commit data... | |
| i386 | Loading commit data... | |
| ia64 | Loading commit data... | |
| iq2000 | Loading commit data... | |
| libbid | Loading commit data... | |
| lm32 | Loading commit data... | |
| m32c | Loading commit data... | |
| m32r | Loading commit data... | |
| m68k | Loading commit data... | |
| mcore | Loading commit data... | |
| mep | Loading commit data... | |
| microblaze | Loading commit data... | |
| mips | Loading commit data... | |
| mmix | Loading commit data... | |
| moxie | Loading commit data... | |
| pa | Loading commit data... | |
| pdp11 | Loading commit data... | |
| picochip | Loading commit data... | |
| rl78 | Loading commit data... | |
| rs6000 | Loading commit data... | |
| rx | Loading commit data... | |
| s390 | Loading commit data... | |
| score | Loading commit data... | |
| sh | Loading commit data... | |
| sparc | Loading commit data... | |
| spu | Loading commit data... | |
| stormy16 | Loading commit data... | |
| tilegx | Loading commit data... | |
| tilepro | Loading commit data... | |
| v850 | Loading commit data... | |
| vax | Loading commit data... | |
| vms | Loading commit data... | |
| xtensa | Loading commit data... | |
| darwin-64.c | Loading commit data... | |
| darwin-crt-tm.c | Loading commit data... | |
| darwin-crt3.c | Loading commit data... | |
| gmon-sol2.c | Loading commit data... | |
| gthr-lynx.h | Loading commit data... | |
| gthr-rtems.h | Loading commit data... | |
| gthr-vxworks.h | Loading commit data... | |
| libgcc-glibc.ver | Loading commit data... | |
| libgcc-libsystem.ver | Loading commit data... | |
| no-sfp-machine.h | Loading commit data... | |
| no-unwind.h | Loading commit data... | |
| t-crtfm | Loading commit data... | |
| t-crtstuff-pic | Loading commit data... | |
| t-darwin | Loading commit data... | |
| t-dfprules | Loading commit data... | |
| t-eh-dw2-dip | Loading commit data... | |
| t-fdpbit | Loading commit data... | |
| t-fixedpoint-gnu-prefix | Loading commit data... | |
| t-fpbit | Loading commit data... | |
| t-freebsd-thread | Loading commit data... | |
| t-gnu-prefix | Loading commit data... | |
| t-libgcc-pic | Loading commit data... | |
| t-libunwind | Loading commit data... | |
| t-libunwind-elf | Loading commit data... | |
| t-linux | Loading commit data... | |
| t-openbsd-thread | Loading commit data... | |
| t-rtems | Loading commit data... | |
| t-slibgcc | Loading commit data... | |
| t-slibgcc-darwin | Loading commit data... | |
| t-slibgcc-elf-ver | Loading commit data... | |
| t-slibgcc-gld | Loading commit data... | |
| t-slibgcc-gld-nover | Loading commit data... | |
| t-slibgcc-hpux | Loading commit data... | |
| t-slibgcc-libgcc | Loading commit data... | |
| t-slibgcc-nolc-override | Loading commit data... | |
| t-slibgcc-sld | Loading commit data... | |
| t-slibgcc-vms | Loading commit data... | |
| t-softfp | Loading commit data... | |
| t-softfp-excl | Loading commit data... | |
| t-softfp-sfdf | Loading commit data... | |
| t-softfp-tf | Loading commit data... | |
| t-sol2 | Loading commit data... | |
| t-stack | Loading commit data... | |
| t-tls | Loading commit data... | |
| t-vxworks | Loading commit data... | |
| unwind-dw2-fde-darwin.c | Loading commit data... | |
| vxlib-tls.c | Loading commit data... | |
| vxlib.c | Loading commit data... |