projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aba0f0
)
Allow saving FP regs at offset 0 of sp (leaf func that saves no GP regs).
author
Michael Meissner
<meissner@gcc.gnu.org>
Mon, 4 Jan 1993 00:37:33 +0000
(
00:37
+0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Mon, 4 Jan 1993 00:37:33 +0000
(
00:37
+0000)
From-SVN: r3076
gcc/config/mips/mips.c
patch
|
blob
|
history
diff --git
a/gcc/config/mips/mips.c
b/gcc/config/mips/mips.c
index 8e925b4ac864cfccd9636bf4c309d5779c52d004..e9b006cc478f6caf83df9b7cfb418ad53470a8ed 100644
(file)
--- a/
gcc/config/mips/mips.c
+++ b/
gcc/config/mips/mips.c
@@
-4124,7
+4124,7
@@
save_restore_insns (store_p, large_reg, large_offset, file)
/* Pick which pointer to use as a base register. */
fp_offset = current_frame_info.fp_sp_offset;
- end_offset = fp_offset - (current_frame_info.fp_reg_size - UNITS_PER_WORD);
+ end_offset = fp_offset - (current_frame_info.fp_reg_size -
2*
UNITS_PER_WORD);
if (fp_offset < 0 || end_offset < 0)
fatal ("fp_offset (%ld) or end_offset (%ld) is less than zero.",