Commit 323d8e7b by Jeffrey A Law Committed by Jeff Law

lib1funcs.asm: Minor whitespace changes.

        * v850/lib1funcs.asm: Minor whitespace changes.
        * v850.c: Fix minor formatting problems in many places.
        (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.

From-SVN: r16471
parent 5a75af62
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> Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
......
...@@ -399,16 +399,16 @@ print_operand (file, x, code) ...@@ -399,16 +399,16 @@ print_operand (file, x, code)
else if (TDA_NAME_P (name)) else if (TDA_NAME_P (name))
fprintf (file, "tdaoff"); fprintf (file, "tdaoff");
else else
abort(); abort ();
} }
else else
abort(); abort ();
break; break;
case 'P': case 'P':
if (special_symbolref_operand (x, VOIDmode)) if (special_symbolref_operand (x, VOIDmode))
output_addr_const (file, x); output_addr_const (file, x);
else else
abort(); abort ();
break; break;
case 'Q': case 'Q':
if (special_symbolref_operand (x, VOIDmode)) if (special_symbolref_operand (x, VOIDmode))
...@@ -429,10 +429,10 @@ print_operand (file, x, code) ...@@ -429,10 +429,10 @@ print_operand (file, x, code)
else if (TDA_NAME_P (name)) else if (TDA_NAME_P (name))
fprintf (file, "ep"); fprintf (file, "ep");
else else
abort(); abort ();
} }
else else
abort(); abort ();
break; break;
case 'R': /* 2nd word of a double. */ case 'R': /* 2nd word of a double. */
switch (GET_CODE (x)) switch (GET_CODE (x))
...@@ -584,7 +584,7 @@ print_operand_address (file, addr) ...@@ -584,7 +584,7 @@ print_operand_address (file, addr)
reg_name = "ep"; reg_name = "ep";
} }
else else
abort(); abort ();
fprintf (file, "%s(", off_name); fprintf (file, "%s(", off_name);
output_addr_const (file, addr); output_addr_const (file, addr);
...@@ -616,7 +616,7 @@ print_operand_address (file, addr) ...@@ -616,7 +616,7 @@ print_operand_address (file, addr)
reg_name = "ep"; reg_name = "ep";
} }
else else
abort(); abort ();
fprintf (file, "%s(", off_name); fprintf (file, "%s(", off_name);
output_addr_const (file, addr); output_addr_const (file, addr);
...@@ -2082,11 +2082,11 @@ construct_restore_jr (op) ...@@ -2082,11 +2082,11 @@ construct_restore_jr (op)
last = 29; last = 29;
} }
/* Paranoia */ /* Note, it is possible to have gaps in the register mask.
for (i = (first == 2 ? 20 : first + 1); i < 29; i++) We ignore this here, and generate a JR anyway. We will
if ((mask & (1 << i)) == 0) be popping more registers thatn is strictly necessary, but
abort (); it does save code space. */
if (first == last) if (first == last)
sprintf (buff, "jr __return_%s", reg_names [first]); sprintf (buff, "jr __return_%s", reg_names [first]);
else else
...@@ -2254,7 +2254,7 @@ construct_save_jarl (op) ...@@ -2254,7 +2254,7 @@ construct_save_jarl (op)
if (mask & (1 << 31)) if (mask & (1 << 31))
{ {
if (stack_bytes != -16) if (stack_bytes != -16)
abort(); abort ();
last = 31; last = 31;
} }
...@@ -2268,11 +2268,11 @@ construct_save_jarl (op) ...@@ -2268,11 +2268,11 @@ construct_save_jarl (op)
last = 29; last = 29;
} }
/* Paranoia */ /* Note, it is possible to have gaps in the register mask.
for (i = (first == 2 ? 20 : first + 1); i < 29; i++) We ignore this here, and generate a JARL anyway. We will
if ((mask & (1 << i)) == 0) be pushing more registers thatn is strictly necessary, but
abort (); it does save code space. */
if (first == last) if (first == last)
sprintf (buff, "jarl __save_%s, r10", reg_names [first]); sprintf (buff, "jarl __save_%s, r10", reg_names [first]);
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment