lib1funcs.asm: Minor whitespace changes.
authorJeffrey A Law <law@cygnus.com>
Thu, 13 Nov 1997 23:55:08 +0000 (23:55 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 13 Nov 1997 23:55:08 +0000 (16:55 -0700)
        * 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

gcc/ChangeLog
gcc/config/v850/v850.c

index 31ead4a55f61e712fb720431246eeeb95d348d8c..79a5a8bbebc3f3930eb70786e898053447d92a90 100644 (file)
@@ -1,3 +1,9 @@
+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
index 79ae10f9fbef219a8c01f345d7c2520986b7e5bc..564e8ee09884c9880a77444dee0ade0318d119ce 100644 (file)
@@ -399,16 +399,16 @@ print_operand (file, x, code)
           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))
@@ -429,10 +429,10 @@ print_operand (file, x, code)
           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))
@@ -584,7 +584,7 @@ print_operand_address (file, addr)
               reg_name = "ep";
             }
           else
-            abort();
+            abort ();
 
           fprintf (file, "%s(", off_name);
           output_addr_const (file, addr);
@@ -616,7 +616,7 @@ print_operand_address (file, addr)
               reg_name = "ep";
             }
           else
-            abort();
+            abort ();
 
           fprintf (file, "%s(", off_name);
           output_addr_const (file, addr);
@@ -2082,11 +2082,11 @@ construct_restore_jr (op)
       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
@@ -2254,7 +2254,7 @@ construct_save_jarl (op)
   if (mask & (1 << 31))
     {
       if (stack_bytes != -16)
-       abort();
+       abort ();
       
       last = 31;
     }
@@ -2268,11 +2268,11 @@ construct_save_jarl (op)
       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