diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-30 22:22:24 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-30 22:22:24 +0000 |
commit | 4b0082d4f45c6875dc128309920dd3e3f90eef99 (patch) | |
tree | 03ae71be61f5f559f8e8192ca520e2a4b0bd9735 /gcc/config | |
parent | 5da5e79dc199f3cdcac463babc495b7d1611f5ca (diff) | |
download | gcc-4b0082d4f45c6875dc128309920dd3e3f90eef99.tar.gz |
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
(STACK_DYNAMIC_OFFSET): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 70a4ec98c29..11747ef0bef 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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, |