rs6000.c (rs6000_stack_info): Correct alignment of save_size.

* config/rs6000/rs6000.c (rs6000_stack_info): Correct alignment of
	save_size.

From-SVN: r87205
This commit is contained in:
Alan Modra 2004-09-08 23:19:58 +00:00 committed by Alan Modra
parent 626ff3dea7
commit 640450295e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-09-09 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_stack_info): Correct alignment of
save_size.
2004-09-08 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/power4.md (power4-lmul): du4 feeds iu1.

View File

@ -11728,6 +11728,7 @@ rs6000_stack_info (void)
rs6000_stack_t *info_ptr = &info;
int reg_size = TARGET_32BIT ? 4 : 8;
int ehrd_size;
int save_align;
HOST_WIDE_INT non_fixed_size;
/* Zero all fields portably. */
@ -11947,6 +11948,7 @@ rs6000_stack_info (void)
break;
}
save_align = (TARGET_ALTIVEC_ABI || DEFAULT_ABI == ABI_DARWIN) ? 16 : 8;
info_ptr->save_size = RS6000_ALIGN (info_ptr->fp_size
+ info_ptr->gp_size
+ info_ptr->altivec_size
@ -11958,8 +11960,7 @@ rs6000_stack_info (void)
+ info_ptr->lr_size
+ info_ptr->vrsave_size
+ info_ptr->toc_size,
(TARGET_ALTIVEC_ABI || ABI_DARWIN)
? 16 : 8);
save_align);
non_fixed_size = (info_ptr->vars_size
+ info_ptr->parm_size