alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.
authorRichard Henderson <rth@cygnus.com>
Fri, 23 Apr 1999 14:39:42 +0000 (07:39 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 23 Apr 1999 14:39:42 +0000 (07:39 -0700)
        * alpha.c (alpha_expand_prologue): Don't negate frame size
        for use with subq.

From-SVN: r26602

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 412b22d452ac84439f4dcf53baf6d8f1aa917646..0685d67c2c33c3b8c69b57df448bde84fd67d697 100644 (file)
@@ -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.
index ca282786aca0bb2aafb2225b29773193fff25207..5c8564dcfe32742c612a9d1eeeabbe1975d14963 100644 (file)
@@ -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)));