+2001-12-31 Richard Henderson <rth@redhat.com>
+
+ * config/ia64/ia64.c (mark_reg_gr_used_mask): Mind HARD_REGNO_NREGS.
+
2001-12-31 Richard Henderson <rth@redhat.com>
* regrename.c (build_def_use): Don't rename asm operands that
{
unsigned int regno = REGNO (reg);
if (regno < 32)
- current_frame_info.gr_used_mask |= 1 << regno;
+ {
+ unsigned int i, n = HARD_REGNO_NREGS (regno, GET_MODE (reg));
+ for (i = 0; i < n; ++i)
+ current_frame_info.gr_used_mask |= 1 << (regno + i);
+ }
}
/* Returns the number of bytes offset between the frame pointer and the stack