Commit 7b094d6e by Aldy Hernandez Committed by Aldy Hernandez

rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.

2001-11-30  Aldy Hernandez  <aldyh@redhat.com>

	* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
        (STACK_DYNAMIC_OFFSET): Same.

From-SVN: r47495
parent dd6bdc62
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
(STACK_DYNAMIC_OFFSET): Same.
2001-11-30 Richard Henderson <rth@redhat.com>
* c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
......
......@@ -1371,7 +1371,8 @@ typedef struct rs6000_stack {
outgoing parameter area. */
#define STARTING_FRAME_OFFSET \
(RS6000_ALIGN (current_function_outgoing_args_size, 8) \
(RS6000_ALIGN (current_function_outgoing_args_size, \
TARGET_ALTIVEC ? 16 : 8) \
+ RS6000_VARARGS_AREA \
+ RS6000_SAVE_AREA)
......@@ -1382,7 +1383,8 @@ typedef struct rs6000_stack {
length of the outgoing arguments. The default is correct for most
machines. See `function.c' for details. */
#define STACK_DYNAMIC_OFFSET(FUNDECL) \
(RS6000_ALIGN (current_function_outgoing_args_size, 8) \
(RS6000_ALIGN (current_function_outgoing_args_size, \
TARGET_ALTIVEC ? 16 : 8) \
+ (STACK_POINTER_OFFSET))
/* If we generate an insn to push BYTES bytes,
......
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