200x-xx-xx Kazu Hirata <kazu@codesourcery.com>
* config/m68k/m68k-protos.h (use_return_insn): Rename to...
(m68k_use_return_insn): ...this.
* config/m68k/m68k.h (USE_RETURN_INSN): Delete.
* config/m68k/m68k.c (use_return_insn): Rename to...
(m68k_use_return_insn): ...this.
* config/m68k/m68k.md (return): Use m68k_use_return_insn instead
of USE_RETURN_INSN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120926
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-01-18 Kazu Hirata <kazu@codesourcery.com>
+
+ * config/m68k/m68k-protos.h (use_return_insn): Rename to...
+ (m68k_use_return_insn): ...this.
+ * config/m68k/m68k.h (USE_RETURN_INSN): Delete.
+ * config/m68k/m68k.c (use_return_insn): Rename to...
+ (m68k_use_return_insn): ...this.
+ * config/m68k/m68k.md (return): Use m68k_use_return_insn instead
+ of USE_RETURN_INSN.
+
2007-01-18 Nathan Sidwell <nathan@codesourcery.com>
* config/m68k/fpgnulib.c (__truncdfsf2): Implement round to
extern bool m68k_regno_mode_ok (int, enum machine_mode);
extern int flags_in_68881 (void);
-extern bool use_return_insn (void);
+extern bool m68k_use_return_insn (void);
extern void override_options (void);
extern const char *m68k_cpp_cpu_ident (const char *);
extern const char *m68k_cpp_cpu_family (const char *);
/* Return true if this function's epilogue can be output as RTL. */
bool
-use_return_insn (void)
+m68k_use_return_insn (void)
{
if (!reload_completed || frame_pointer_needed || get_frame_size () != 0)
return false;
#define EXIT_IGNORE_STACK 1
-/* Determine if the epilogue should be output as RTL.
- You should override this if you define FUNCTION_EXTRA_EPILOGUE.
-
- XXX This macro is m68k-specific and only used in m68k.md. */
-#define USE_RETURN_INSN use_return_insn ()
-
/* Output assembler code for a block containing the constant parts
of a trampoline, leaving space for the variable parts.
;; Used for frameless functions which save no regs and allocate no locals.
(define_insn "return"
[(return)]
- "USE_RETURN_INSN"
+ "m68k_use_return_insn ()"
{
if (current_function_pops_args == 0)
return "rts";