diff options
author | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2007-10-17 19:48:53 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2007-10-17 19:48:53 +0000 |
commit | fb7803cb2b0d12309503431c659cbcee1e12cd14 (patch) | |
tree | d1cfc4df470eb6c0ef89949b23940257b8fc3285 /gcc | |
parent | bce5fe517acf138a1ec030877d9a1ff46f735220 (diff) | |
download | gcc-fb7803cb2b0d12309503431c659cbcee1e12cd14.zip gcc-fb7803cb2b0d12309503431c659cbcee1e12cd14.tar.gz gcc-fb7803cb2b0d12309503431c659cbcee1e12cd14.tar.bz2 |
m68k.h (m68k_sched_cpu, [...]): Move declarations to ...
* config/m68k/m68k.h (m68k_sched_cpu, m68k_sched_attr_opx_type,
m68k_sched_attr_opy_type, m68k_sched_attr_size, m68k_sched_attr_op_mem,
m68k_sched_branch_type): Move declarations to ...
* config/m68/m68k-protos.h: ... here.
From-SVN: r129416
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m68k/m68k-protos.h | 10 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 7 |
2 files changed, 10 insertions, 7 deletions
diff --git a/gcc/config/m68k/m68k-protos.h b/gcc/config/m68k/m68k-protos.h index c6d6d33..7d1ea97 100644 --- a/gcc/config/m68k/m68k-protos.h +++ b/gcc/config/m68k/m68k-protos.h @@ -65,6 +65,16 @@ extern int emit_move_sequence (rtx *, enum machine_mode, rtx); extern bool m68k_movem_pattern_p (rtx, rtx, HOST_WIDE_INT, bool); extern const char *m68k_output_movem (rtx *, rtx, HOST_WIDE_INT, bool); +#ifdef HAVE_ATTR_cpu +extern enum attr_cpu m68k_sched_cpu; + +extern enum attr_opx_type m68k_sched_attr_opx_type (rtx, int); +extern enum attr_opy_type m68k_sched_attr_opy_type (rtx, int); +extern int m68k_sched_attr_size (rtx); +extern enum attr_op_mem m68k_sched_attr_op_mem (rtx); +extern enum attr_type m68k_sched_branch_type (rtx); +#endif /* HAVE_ATTR_cpu */ + #endif /* RTX_CODE */ extern bool m68k_regno_mode_ok (int, enum machine_mode); diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 93b962a..c077c35 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1148,10 +1148,3 @@ extern M68K_CONST_METHOD m68k_const_method (HOST_WIDE_INT); extern void m68k_emit_move_double (rtx [2]); -extern enum attr_cpu m68k_sched_cpu; - -extern enum attr_opx_type m68k_sched_attr_opx_type (rtx, int); -extern enum attr_opy_type m68k_sched_attr_opy_type (rtx, int); -extern int m68k_sched_attr_size (rtx); -extern enum attr_op_mem m68k_sched_attr_op_mem (rtx); -extern enum attr_type m68k_sched_branch_type (rtx); |