From: Richard Henderson Date: Fri, 23 Apr 1999 14:39:42 +0000 (-0700) Subject: alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14eecd34f5f0c5522a57a0626471ca98a3c1043f;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 412b22d452a..0685d67c2c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 23 14:36:47 1999 Richard Henderson + + * alpha.c (alpha_expand_prologue): Don't negate frame size + for use with subq. + Fri Apr 23 09:43:18 1999 Nick Clifton * 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 ca282786aca..5c8564dcfe3 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)));