This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
S/390: Remove s390_sched_reorder2
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Feb 2004 21:14:16 +0100 (CET)
- Subject: S/390: Remove s390_sched_reorder2
Hello,
as pointed out by David Edelsohn, the original reason for
defining a no-op SCHED_REORDER2 function no longer applies,
so this patch removes it.
Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux.
Bye,
Ulrich
ChangeLog:
* config/s390/s390.c (s390_sched_reorder2): Remove.
(TARGET_SCHED_REORDER2): Do not redefine.
Index: gcc/config/s390/s390.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.c,v
retrieving revision 1.134
diff -c -p -r1.134 s390.c
*** gcc/config/s390/s390.c 8 Feb 2004 23:08:47 -0000 1.134
--- gcc/config/s390/s390.c 11 Feb 2004 23:44:33 -0000
*************** static int s390_adjust_priority (rtx, in
*** 73,79 ****
static int s390_issue_rate (void);
static int s390_use_dfa_pipeline_interface (void);
static int s390_first_cycle_multipass_dfa_lookahead (void);
- static int s390_sched_reorder2 (FILE *, int, rtx *, int *, int);
static bool s390_rtx_costs (rtx, int, int, int *);
static int s390_address_cost (rtx);
static void s390_reorg (void);
--- 73,78 ----
*************** static tree s390_build_builtin_va_list (
*** 132,139 ****
#define TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE s390_use_dfa_pipeline_interface
#undef TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD s390_first_cycle_multipass_dfa_lookahead
- #undef TARGET_SCHED_REORDER2
- #define TARGET_SCHED_REORDER2 s390_sched_reorder2
#undef TARGET_RTX_COSTS
#define TARGET_RTX_COSTS s390_rtx_costs
--- 131,136 ----
*************** static int
*** 3823,3841 ****
s390_first_cycle_multipass_dfa_lookahead (void)
{
return s390_use_dfa_pipeline_interface () ? 4 : 0;
- }
-
- /* Called after issuing each insn.
- Triggers default sort algorithm to better slot instructions. */
-
- static int
- s390_sched_reorder2 (FILE *dump ATTRIBUTE_UNUSED,
- int sched_verbose ATTRIBUTE_UNUSED,
- rtx *ready ATTRIBUTE_UNUSED,
- int *pn_ready ATTRIBUTE_UNUSED,
- int clock_var ATTRIBUTE_UNUSED)
- {
- return s390_issue_rate();
}
--- 3820,3825 ----
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de