r180610 - in /trunk/gcc: ChangeLog config/rs600...

iains@gcc.gnu.org iains@gcc.gnu.org
Fri Oct 28 10:33:00 GMT 2011


Author: iains
Date: Fri Oct 28 10:33:55 2011
New Revision: 180610

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180610
Log:

Implement out-of-line FPR and GPR saves for PPC/Darwin

gcc:

	* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): 
	Move darwin-fpsave.asm from here to ... LIB2FUNCS_EXTRA.
	(LIB2FUNCS_EXTRA):  Add darwin-gpsave.asm.
	(TARGET_LIBGCC2_CFLAGS): Ensure that fPIC and -pipe are inherited from
	config/t-darwin.
	* config/rs6000/darwin.h (FP_SAVE_INLINE): Adjust to enable.
	(GP_SAVE_INLINE): Likewise.
	(SAVE_FP_PREFIX,  SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
	RESTORE_FP_SUFFIX): Set to empty strings.
	* config/rs6000/rs6000.c (rs6000_savres_strategy): Implement for Darwin.
	(debug_stack_info): Print savres_strategy.
	(rs6000_savres_routine_name): Implement for Darwin.
	(rs6000_make_savres_rtx): Adjust used register for Darwin.
	(rs6000_emit_prologue): Implement out-of-line saves for Darwin.
	(rs6000_output_function_prologue): Don't emit .extern for Mach-O.
	(rs6000_emit_epilogue): Implement out-of-line saves for Darwin.
	* config/rs6000/darwin-gpsave.asm: New file.


Added:
    trunk/gcc/config/rs6000/darwin-gpsave.asm
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/darwin.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/t-darwin



More information about the Gcc-cvs mailing list