+Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
+
+ * v850/lib1funcs.asm: Minor whitespace changes.
+ * v850.c: Fix minor formatting problems in many places.
+ (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
+
Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
else if (TDA_NAME_P (name))
fprintf (file, "tdaoff");
else
- abort();
+ abort ();
}
else
- abort();
+ abort ();
break;
case 'P':
if (special_symbolref_operand (x, VOIDmode))
output_addr_const (file, x);
else
- abort();
+ abort ();
break;
case 'Q':
if (special_symbolref_operand (x, VOIDmode))
else if (TDA_NAME_P (name))
fprintf (file, "ep");
else
- abort();
+ abort ();
}
else
- abort();
+ abort ();
break;
case 'R': /* 2nd word of a double. */
switch (GET_CODE (x))
reg_name = "ep";
}
else
- abort();
+ abort ();
fprintf (file, "%s(", off_name);
output_addr_const (file, addr);
reg_name = "ep";
}
else
- abort();
+ abort ();
fprintf (file, "%s(", off_name);
output_addr_const (file, addr);
last = 29;
}
- /* Paranoia */
- for (i = (first == 2 ? 20 : first + 1); i < 29; i++)
- if ((mask & (1 << i)) == 0)
- abort ();
-
+ /* Note, it is possible to have gaps in the register mask.
+ We ignore this here, and generate a JR anyway. We will
+ be popping more registers thatn is strictly necessary, but
+ it does save code space. */
+
if (first == last)
sprintf (buff, "jr __return_%s", reg_names [first]);
else
if (mask & (1 << 31))
{
if (stack_bytes != -16)
- abort();
+ abort ();
last = 31;
}
last = 29;
}
- /* Paranoia */
- for (i = (first == 2 ? 20 : first + 1); i < 29; i++)
- if ((mask & (1 << i)) == 0)
- abort ();
-
+ /* Note, it is possible to have gaps in the register mask.
+ We ignore this here, and generate a JARL anyway. We will
+ be pushing more registers thatn is strictly necessary, but
+ it does save code space. */
+
if (first == last)
sprintf (buff, "jarl __save_%s, r10", reg_names [first]);
else