sparc.c (output_double_int): In all V9 symbolic cases, use xword.
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Fri, 4 Sep 1998 03:08:42 +0000 (03:08 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Fri, 4 Sep 1998 03:08:42 +0000 (20:08 -0700)
* config/sparc/sparc.c (output_double_int): In all V9 symbolic
cases, use xword.
(sparc_output_deferred_case_vectors): If no work to do, return.
Fix thinko in Sept 1 change.

From-SVN: r22231

gcc/ChangeLog
gcc/config/sparc/sparc.c

index b604e0d..f11cd17 100644 (file)
@@ -1,3 +1,10 @@
+Fri Sep  4 02:01:05 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
+
+       * config/sparc/sparc.c (output_double_int): In all V9 symbolic
+       cases, use xword.
+       (sparc_output_deferred_case_vectors): If no work to do, return.
+       Fix thinko in Sept 1 change.
+
 1998-09-03  SL Baur  <steve@altair.xemacs.org>
 
        * Makefile.in: add semicolon in BISON definition for portability.
index 648569a..ee1f8ef 100644 (file)
@@ -5219,9 +5219,7 @@ output_double_int (file, value)
                || GET_CODE (value) == CODE_LABEL
                || GET_CODE (value) == MINUS)))
     {
-      if (! TARGET_V9
-         || (TARGET_CM_MEDLOW
-             && ! flag_pic))
+      if (! TARGET_V9)
        {
          ASM_OUTPUT_INT (file, const0_rtx);
          ASM_OUTPUT_INT (file, value);
@@ -7243,12 +7241,16 @@ sparc_output_deferred_case_vectors ()
   rtx t;
   int align;
 
+  if (sparc_addr_list == NULL_RTX
+      && sparc_addr_diff_list == NULL_RTX)
+    return;
+
   /* Align to cache line in the function's code section.  */
   function_section (current_function_decl);
 
   align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT);
   if (align > 0)
-    ASM_OUTPUT_ALIGN (asm_out_file, 5);
+    ASM_OUTPUT_ALIGN (asm_out_file, align);
   
   for (t = sparc_addr_list; t ; t = XEXP (t, 1))
     sparc_output_addr_vec (XEXP (t, 0));