From: David S. Miller Date: Fri, 4 Sep 1998 03:08:42 +0000 (+0000) Subject: sparc.c (output_double_int): In all V9 symbolic cases, use xword. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3b8847be03867b52159b27295b4c8f26d7e7b48;p=gcc.git sparc.c (output_double_int): In all V9 symbolic cases, use xword. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b604e0d2fad..f11cd17a094 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Fri Sep 4 02:01:05 1998 David S. Miller + + * 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 * Makefile.in: add semicolon in BISON definition for portability. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 648569a34e5..ee1f8efcf74 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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));