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... | |
| 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... | |
| mn10300 | 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... | |
| README | Loading commit data... | |
| darwin-c.c | Loading commit data... | |
| darwin-driver.c | Loading commit data... | |
| darwin-f.c | Loading commit data... | |
| darwin-ppc-ldouble-patch.def | Loading commit data... | |
| darwin-protos.h | Loading commit data... | |
| darwin-sections.def | Loading commit data... | |
| darwin.c | Loading commit data... | |
| darwin.h | Loading commit data... | |
| darwin.opt | Loading commit data... | |
| darwin10.h | Loading commit data... | |
| darwin9.h | Loading commit data... | |
| dbx.h | Loading commit data... | |
| dbxcoff.h | Loading commit data... | |
| dbxelf.h | Loading commit data... | |
| default-c.c | Loading commit data... | |
| elfos.h | Loading commit data... | |
| flat.h | Loading commit data... | |
| freebsd-nthr.h | Loading commit data... | |
| freebsd-spec.h | Loading commit data... | |
| freebsd-stdint.h | Loading commit data... | |
| freebsd.h | Loading commit data... | |
| freebsd.opt | Loading commit data... | |
| fused-madd.opt | Loading commit data... | |
| g.opt | Loading commit data... | |
| glibc-stdint.h | Loading commit data... | |
| gnu-user.h | Loading commit data... | |
| gnu-user.opt | Loading commit data... | |
| gnu.h | Loading commit data... | |
| host-darwin.c | Loading commit data... | |
| host-darwin.h | Loading commit data... | |
| host-hpux.c | Loading commit data... | |
| host-linux.c | Loading commit data... | |
| host-solaris.c | Loading commit data... | |
| hpux-stdint.h | Loading commit data... | |
| hpux11.opt | Loading commit data... | |
| initfini-array.h | Loading commit data... | |
| kfreebsd-gnu.h | Loading commit data... | |
| knetbsd-gnu.h | Loading commit data... | |
| kopensolaris-gnu.h | Loading commit data... | |
| linux-android.h | Loading commit data... | |
| linux-android.opt | Loading commit data... | |
| linux.h | Loading commit data... | |
| linux.opt | Loading commit data... | |
| lynx.h | Loading commit data... | |
| lynx.opt | Loading commit data... | |
| netbsd-elf.h | Loading commit data... | |
| netbsd-elf.opt | Loading commit data... | |
| netbsd.h | Loading commit data... | |
| netbsd.opt | Loading commit data... | |
| newlib-stdint.h | Loading commit data... | |
| openbsd-libpthread.h | Loading commit data... | |
| openbsd-oldgas.h | Loading commit data... | |
| openbsd-stdint.h | Loading commit data... | |
| openbsd.h | Loading commit data... | |
| openbsd.opt | Loading commit data... | |
| print-sysroot-suffix.sh | Loading commit data... | |
| rpath.opt | Loading commit data... | |
| rtems.h | Loading commit data... | |
| rtems.opt | Loading commit data... | |
| sol2-10.h | Loading commit data... | |
| sol2-bi.h | Loading commit data... | |
| sol2-c.c | Loading commit data... | |
| sol2-cxx.c | Loading commit data... | |
| sol2-protos.h | Loading commit data... | |
| sol2-stubs.c | Loading commit data... | |
| sol2.c | Loading commit data... | |
| sol2.h | Loading commit data... | |
| sol2.opt | Loading commit data... | |
| t-darwin | Loading commit data... | |
| t-libunwind | Loading commit data... | |
| t-lynx | Loading commit data... | |
| t-openbsd | Loading commit data... | |
| t-pnt16-warn | Loading commit data... | |
| t-rtems | Loading commit data... | |
| t-slibgcc | Loading commit data... | |
| t-sol2 | Loading commit data... | |
| t-sysroot-suffix | Loading commit data... | |
| t-vxworks | Loading commit data... | |
| tm-dwarf2.h | Loading commit data... | |
| usegas.h | Loading commit data... | |
| usegld.h | Loading commit data... | |
| vx-common.h | Loading commit data... | |
| vxworks-dummy.h | Loading commit data... | |
| vxworks.c | Loading commit data... | |
| vxworks.h | Loading commit data... | |
| vxworks.opt | Loading commit data... | |
| vxworksae.h | Loading commit data... | |
| x-cflags-O1 | Loading commit data... | |
| x-darwin | Loading commit data... | |
| x-hpux | Loading commit data... | |
| x-linux | Loading commit data... | |
| x-solaris | Loading commit data... |