mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-19 02:00:54 +08:00
200x-xx-xx Kazu Hirata <kazu@codesourcery.com>
gcc/ 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. From-SVN: r120926
This commit is contained in:
parent
e444d54e44
commit
a2bda628bf
@ -1,3 +1,13 @@
|
||||
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
|
||||
|
@ -59,7 +59,7 @@ extern int emit_move_sequence (rtx *, enum machine_mode, rtx);
|
||||
|
||||
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 *);
|
||||
|
@ -1022,7 +1022,7 @@ m68k_output_function_prologue (FILE *stream,
|
||||
/* 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;
|
||||
|
@ -648,12 +648,6 @@ extern enum reg_class regno_reg_class[];
|
||||
|
||||
#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.
|
||||
|
||||
|
@ -6455,7 +6455,7 @@
|
||||
;; 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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user