This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFC] ARM -- Implement ATPCS stack alignment rules


On Mon, Sep 09, 2002 at 01:11:52PM +0100, Richard Earnshaw wrote:

 > This function needs to be rewritten to make use of 
 > arm_compute_save_reg_mask and arm_compute_save_reg0_reg12_mask.

Is this what you had in mind?  "make check" currently running...

	* config/arm/arm-protos.h (arm_get_frame_size): New prototype. 
	* config/arm/arm.c (arm_get_frame_size): New function. 
	(use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
	(arm_compute_initial_elimination_offset, arm_expand_prologue)
	(thumb_expand_prologue, thumb_expand_epilogue): Use arm_get_frame_size.
	* config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
	(THUMB_INITIAL_ELIMINATION_OFFSET): Use arm_get_frame_size.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: arm-stack-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]