Add new parameter to move_block_from_reg calls.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 28 Jul 1993 17:21:14 +0000 (10:21 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 28 Jul 1993 17:21:14 +0000 (10:21 -0700)
From-SVN: r5018

gcc/config/a29k/a29k.h
gcc/config/alpha/alpha.h
gcc/config/i960/i960.c
gcc/config/m88k/m88k.c
gcc/config/pa/pa.c
gcc/config/romp/romp.h
gcc/config/rs6000/rs6000.h

index c6982eeab64ea40c5fa74a2dd4e53bcea91e8a88..dbde5c609ce2ab26a7f97c4e26b0194fa3cf3380 100644 (file)
@@ -877,7 +877,7 @@ extern struct rtx_def *a29k_get_reloaded_address ();
        move_block_from_reg                                             \
          (R_AR (0) + first_reg_offset,                                 \
           gen_rtx (MEM, BLKmode, virtual_incoming_args_rtx),           \
-          16 - first_reg_offset);                                      \
+          16 - first_reg_offset, (16 - first_reg_offset) * UNITS_PER_WORD); \
       PRETEND_SIZE = (16 - first_reg_offset) * UNITS_PER_WORD;         \
     }                                                                  \
 }
index 594b9ffc66227620291ff8b6bc2f598db77e3e18..1e53616d3fb183097a0a0bdcbfb9d369aec03e07 100644 (file)
@@ -806,13 +806,13 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
             gen_rtx (MEM, BLKmode,                                     \
                      plus_constant (virtual_incoming_args_rtx,         \
                                     ((CUM) + 6)* UNITS_PER_WORD)),     \
-            6 - (CUM));                                                \
+            6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD);                  \
          move_block_from_reg                                           \
            (16 + 32 + CUM,                                             \
             gen_rtx (MEM, BLKmode,                                     \
                      plus_constant (virtual_incoming_args_rtx,         \
                                     (CUM) * UNITS_PER_WORD)),          \
-            6 - (CUM));                                                \
+            6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD);                  \
         }                                                              \
       PRETEND_SIZE = 12 * UNITS_PER_WORD;                              \
     }                                                                  \
index 3a8ebed0a056f0b3c13dd42b2bb7ccad9db6a2fb..6baeac3dd11d92aa0ac7d3540a71bdd083760a32 100644 (file)
@@ -2201,7 +2201,8 @@ i960_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
          move_block_from_reg
            (first_reg_offset,
             gen_rtx (MEM, BLKmode, virtual_incoming_args_rtx),
-            NPARM_REGS - first_reg_offset);
+            NPARM_REGS - first_reg_offset,
+            (NPARM_REGS - first_reg_offset) * UNITS_PER_WORD);
        }
       *pretend_size = (NPARM_REGS - first_reg_offset) * UNITS_PER_WORD;
     }
index 061172864689adfeed16105cb7fda221bb558308..d5fe0331bd055d158a0742aedbc07d05585c7dec 100644 (file)
@@ -2555,7 +2555,7 @@ m88k_builtin_saveregs (arglist)
         change_address (addr, Pmode,
                         plus_constant (XEXP (addr, 0),
                                        fixed * UNITS_PER_WORD)),
-        8 - fixed);
+        8 - fixed, (8 - fixed) * UNITS_PER_WORD);
 
   /* Return the address of the va_list constructor, but don't put it in a
      register.  This fails when not optimizing and produces worse code when
index 564b96c76454b6e3fe2c930e8c78ed99602938ca..19c2166ea13bc0cf5ae4811c2225346dbb7f2760 100644 (file)
@@ -3252,7 +3252,7 @@ hppa_builtin_saveregs (arglist)
                       gen_rtx (MEM, BLKmode,
                                plus_constant
                                (current_function_internal_arg_pointer, -16)),
-                      4); 
+                      4, 4 * UNITS_PER_WORD); 
   return copy_to_reg (expand_binop (Pmode, add_optab,
                                    current_function_internal_arg_pointer,
                                    offset, 0, 0, OPTAB_LIB_WIDEN));
index c81a60d9fef235d984279e0d606c328196ceec1e..be5047af2db75887617922a398555022a4a8b906 100644 (file)
@@ -687,7 +687,7 @@ struct rt_cargs {int gregs, fregs; };
           gen_rtx (MEM, BLKmode,                                       \
                    plus_constant (virtual_incoming_args_rtx,           \
                                   first_reg_offset * 4)),              \
-          4 - first_reg_offset);                                       \
+          4 - first_reg_offset, (4 - first_reg_offset) * UNITS_PER_WORD); \
       PRETEND_SIZE = (4 - first_reg_offset) * UNITS_PER_WORD;          \
     }                                                                  \
 }
index 2b45976737868241e8420d7ec6fdd3dc65f2d0f4..8f90eb1acc07138d43394a9cfbdc0274d727779e 100644 (file)
@@ -799,7 +799,7 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
           gen_rtx (MEM, BLKmode,                                       \
                    plus_constant (virtual_incoming_args_rtx,           \
                                   first_reg_offset * 4)),              \
-          8 - first_reg_offset);                                       \
+          8 - first_reg_offset, (8 - first_reg_offset) * UNITS_PER_WORD); \
       PRETEND_SIZE = (8 - first_reg_offset) * UNITS_PER_WORD;          \
     }                                                                  \
 }