Commit 92834d7d by Bob Manson Committed by Jim Wilson

Patch from Bob Manson.

	* config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
	to an 8-byte boundary if info_ptr->fpmem_p.

From-SVN: r19780
parent 829002bb
Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
* config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
to an 8-byte boundary if info_ptr->fpmem_p.
Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
* loop.c (basic_induction_var): Added test preventing
......
......@@ -3205,6 +3205,13 @@ rs6000_stack_info ()
info_ptr->cr_size = reg_size;
}
/* Ensure that fp_save_offset will be aligned to an 8-byte boundary. */
if (info_ptr->fpmem_p)
{
info_ptr->gp_size = RS6000_ALIGN (info_ptr->gp_size, 8);
info_ptr->main_size = RS6000_ALIGN (info_ptr->main_size, 8);
}
/* Determine various sizes */
info_ptr->reg_size = reg_size;
info_ptr->fixed_size = RS6000_SAVE_AREA;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment