]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
m68k.h: Declare functions from m68k.c used in macros and machine description.
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Tue, 5 May 1998 01:54:21 +0000 (01:54 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Tue, 5 May 1998 01:54:21 +0000 (01:54 +0000)
* config/m68k/m68k.h: Declare functions from m68k.c used in
macros and machine description.
(ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
long values.
(ASM_OUTPUT_FLOAT): Likewise.
(ASM_OUTPUT_FLOAT_OPERAND): Likewise.

From-SVN: r19541

gcc/ChangeLog
gcc/config/m68k/m68k.h

index 8ad1d6547657a1ec71fb2b0be82f876c0a8f797f..618bae8b290e9304111ecbfe99ec1b9571bf360c 100644 (file)
@@ -1,3 +1,12 @@
+Tue May  5 10:50:39 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * config/m68k/m68k.h: Declare functions from m68k.c used in
+       macros and machine description.
+       (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
+       long values.
+       (ASM_OUTPUT_FLOAT): Likewise.
+       (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
+
 Tue May  5 01:28:12 1998  Jason Merrill  <jason@yorick.cygnus.com>
 
        * tree.def: Add NAMESPACE_DECL.
index 90a65849c59299c5c4c81b37e949eb508ffa9b25..fb64de6067d27a70a984051982700b29a41493bf 100644 (file)
@@ -1850,10 +1850,7 @@ __transfer_from_trampoline ()                                    \
 #define ASM_OUTPUT_LONG_DOUBLE(FILE,VALUE)                             \
 do { long l[3];                                                                \
      REAL_VALUE_TO_TARGET_LONG_DOUBLE (VALUE, l);                      \
-     if (sizeof (int) == sizeof (long))                                        \
-       fprintf (FILE, "\t.long 0x%x,0x%x,0x%x\n", l[0], l[1], l[2]);   \
-     else                                                              \
-       fprintf (FILE, "\t.long 0x%lx,0x%lx,0x%lx\n", l[0], l[1], l[2]);        \
+     fprintf (FILE, "\t.long 0x%lx,0x%lx,0x%lx\n", l[0], l[1], l[2]);  \
    } while (0)
   
 /* This is how to output an assembler line defining a `double' constant.  */
@@ -1869,10 +1866,7 @@ do { long l[3];                                                          \
 #define ASM_OUTPUT_FLOAT(FILE,VALUE)                   \
 do { long l;                                           \
      REAL_VALUE_TO_TARGET_SINGLE (VALUE, l);           \
-     if (sizeof (int) == sizeof (long))                        \
-       fprintf (FILE, "\t.long 0x%x\n", l);            \
-     else                                              \
-       fprintf (FILE, "\t.long 0x%lx\n", l);           \
+     fprintf (FILE, "\t.long 0x%lx\n", l);             \
    } while (0)
 
 /* This is how to output an assembler line defining an `int' constant.  */
@@ -1990,10 +1984,7 @@ do { long l;                                             \
         {                                                      \
           long l;                                              \
           REAL_VALUE_TO_TARGET_SINGLE (VALUE, l);              \
-          if (sizeof (int) == sizeof (long))                   \
-            asm_fprintf ((FILE), "%I0x%x", l);                 \
-          else                                                 \
-            asm_fprintf ((FILE), "%I0x%lx", l);                        \
+          asm_fprintf ((FILE), "%I0x%lx", l);                  \
         }                                                      \
      } while (0)
 
@@ -2101,6 +2092,15 @@ extern char *output_addsi3 ();
 extern char *output_andsi3 ();
 extern char *output_iorsi3 ();
 extern char *output_xorsi3 ();
+extern void output_dbcc_and_branch ();
+extern int const_uint32_operand ();
+extern int const_sint32_operand ();
+extern int floating_exact_log2 ();
+extern int not_sp_operand ();
+extern int valid_dbcc_comparison_p ();
+extern int extend_operator ();
+extern int flags_in_68881 ();
+extern int strict_low_part_peephole_ok ();
 
 /* Variables in m68k.c */
 extern char *m68k_align_loops_string;
@@ -2111,6 +2111,17 @@ extern int m68k_align_jumps;
 extern int m68k_align_funcs;
 extern int m68k_last_compare_had_fp_operands;
 
+/* Functions from m68k.c used in macros.  */
+extern int symbolic_operand ();
+extern int const_int_cost ();
+extern int standard_68881_constant_p ();
+extern int standard_sun_fpa_constant_p ();
+extern void output_function_prologue ();
+extern int use_return_insn ();
+extern void print_operand_address ();
+extern void print_operand ();
+extern void notice_update_cc ();
+
 \f
 /*
 Local variables: