diff options
author | Richard Henderson <rth@cygnus.com> | 1999-04-23 07:39:42 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-04-23 07:39:42 -0700 |
commit | 14eecd34f5f0c5522a57a0626471ca98a3c1043f (patch) | |
tree | 567ca58c58bdc82b05fcb63b9b4da27a4e4935ab | |
parent | d2675b98f5792d652be903cb064f10e45ebd558a (diff) | |
download | gcc-14eecd34f5f0c5522a57a0626471ca98a3c1043f.zip gcc-14eecd34f5f0c5522a57a0626471ca98a3c1043f.tar.gz gcc-14eecd34f5f0c5522a57a0626471ca98a3c1043f.tar.bz2 |
alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.
* alpha.c (alpha_expand_prologue): Don't negate frame size
for use with subq.
From-SVN: r26602
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 412b22d..0685d67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 23 14:36:47 1999 Richard Henderson <rth@cygnus.com> + + * alpha.c (alpha_expand_prologue): Don't negate frame size + for use with subq. + Fri Apr 23 09:43:18 1999 Nick Clifton <nickc@cygnus.com> * print-rtl.c (print_rtx): Display LABEL_NUSES for labels. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index ca28278..5c8564d 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -3449,8 +3449,8 @@ alpha_expand_prologue () ensure we get ldah+lda, we use a special pattern. */ HOST_WIDE_INT lo, hi; - lo = ((-frame_size & 0xffff) ^ 0x8000) - 0x8000; - hi = -frame_size - lo; + lo = ((frame_size & 0xffff) ^ 0x8000) - 0x8000; + hi = frame_size - lo; emit_move_insn (ptr, GEN_INT (hi)); emit_insn (gen_nt_lda (ptr, GEN_INT (lo))); |