aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-07-07 16:08:46 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-07-07 16:08:46 -0700
commit15f67e0660ab655933ab4ca0006d41d6c43ad895 (patch)
treefef44de97aab84c619c8240e75fb17b0d898290d
parentf5a1436b0118ee3e64439cd5e3d3f3d88cb31c9e (diff)
downloadgcc-15f67e0660ab655933ab4ca0006d41d6c43ad895.zip
gcc-15f67e0660ab655933ab4ca0006d41d6c43ad895.tar.gz
gcc-15f67e0660ab655933ab4ca0006d41d6c43ad895.tar.bz2
(SECONDARY_MEMORY_NEEDED_RTX): Use STARTING_FRAME_OFFSET.
(STARTING_FRAME_OFFSET): Set to -16. From-SVN: r4881
-rw-r--r--gcc/config/sparc/sparc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 3a7a614..78b82c0 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -639,7 +639,8 @@ extern char leaf_reg_backmap[];
/* Return the stack location to use for secondary memory needed reloads. */
#define SECONDARY_MEMORY_NEEDED_RTX(MODE) \
- gen_rtx (MEM, MODE, gen_rtx (PLUS, Pmode, frame_pointer_rtx, GEN_INT (-8)))
+ gen_rtx (MEM, MODE, gen_rtx (PLUS, Pmode, frame_pointer_rtx, \
+ GEN_INT (STARTING_FRAME_OFFSET)))
/* Return the maximum number of consecutive registers
needed to represent mode MODE in a register of class CLASS. */
@@ -667,7 +668,8 @@ extern char leaf_reg_backmap[];
If FRAME_GROWS_DOWNWARD, this is the offset to the END of the
first local allocated. Otherwise, it is the offset to the BEGINNING
of the first local allocated. */
-#define STARTING_FRAME_OFFSET (-8)
+/* This is 16 to allow space for one TFmode floating point value. */
+#define STARTING_FRAME_OFFSET (-16)
/* If we generate an insn to push BYTES bytes,
this says how many the stack pointer really advances by.