Commit 913b71f1 by Trevor Saunders Committed by Trevor Saunders

remove another #if for HAVE_cc0

gcc/ChangeLog:

2015-08-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* reorg.c (relax_delay_slots): Don't use #if to check value of
	HAVE_cc0.

From-SVN: r227050
parent e1f60ccf
2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* reorg.c (relax_delay_slots): Don't use #if to check value of
HAVE_cc0.
2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION. * genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION.
* targhooks.c (default_have_conditional_execution): Adjust. * targhooks.c (default_have_conditional_execution): Adjust.
......
...@@ -3445,15 +3445,13 @@ relax_delay_slots (rtx_insn *first) ...@@ -3445,15 +3445,13 @@ relax_delay_slots (rtx_insn *first)
&& ! condjump_in_parallel_p (delay_jump_insn) && ! condjump_in_parallel_p (delay_jump_insn)
&& prev_active_insn (target_label) == insn && prev_active_insn (target_label) == insn
&& ! BARRIER_P (prev_nonnote_insn (target_label)) && ! BARRIER_P (prev_nonnote_insn (target_label))
#if HAVE_cc0
/* If the last insn in the delay slot sets CC0 for some insn, /* If the last insn in the delay slot sets CC0 for some insn,
various code assumes that it is in a delay slot. We could various code assumes that it is in a delay slot. We could
put it back where it belonged and delete the register notes, put it back where it belonged and delete the register notes,
but it doesn't seem worthwhile in this uncommon case. */ but it doesn't seem worthwhile in this uncommon case. */
&& ! find_reg_note (XVECEXP (pat, 0, XVECLEN (pat, 0) - 1), && (!HAVE_cc0
REG_CC_USER, NULL_RTX) || ! find_reg_note (XVECEXP (pat, 0, XVECLEN (pat, 0) - 1),
#endif REG_CC_USER, NULL_RTX)))
)
{ {
rtx_insn *after; rtx_insn *after;
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment