add default for INSN_REFERENCES_ARE_DELAYED
gcc/ChangeLog: 2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (INSN_REFERENCES_ARE_DELAYED): New definition. * reorg.c (redundant_insn): Remove ifdef INSN_REFERENCES_ARE_DELAYED. * resource.c (mark_referenced_resources): Likewise. From-SVN: r222304
This commit is contained in:
parent
0923e946fb
commit
6e37129a8d
@ -1,3 +1,10 @@
|
||||
2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* defaults.h (INSN_REFERENCES_ARE_DELAYED): New definition.
|
||||
* reorg.c (redundant_insn): Remove ifdef
|
||||
INSN_REFERENCES_ARE_DELAYED.
|
||||
* resource.c (mark_referenced_resources): Likewise.
|
||||
|
||||
2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* defaults.h (INSN_SETS_ARE_DELAYED): New definition.
|
||||
|
@ -1205,6 +1205,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#define INSN_SETS_ARE_DELAYED(INSN) false
|
||||
#endif
|
||||
|
||||
#ifndef INSN_REFERENCES_ARE_DELAYED
|
||||
#define INSN_REFERENCES_ARE_DELAYED(INSN) false
|
||||
#endif
|
||||
|
||||
#ifdef GCC_INSN_FLAGS_H
|
||||
/* Dependent default target macro definitions
|
||||
|
||||
|
@ -1574,10 +1574,8 @@ redundant_insn (rtx insn, rtx_insn *target, rtx delay_list)
|
||||
if (INSN_SETS_ARE_DELAYED (seq->insn (0)))
|
||||
return 0;
|
||||
|
||||
#ifdef INSN_REFERENCES_ARE_DELAYED
|
||||
if (INSN_REFERENCES_ARE_DELAYED (seq->insn (0)))
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
/* See if any of the insns in the delay slot match, updating
|
||||
resource requirements as we go. */
|
||||
@ -1674,10 +1672,8 @@ redundant_insn (rtx insn, rtx_insn *target, rtx delay_list)
|
||||
if (INSN_SETS_ARE_DELAYED (control))
|
||||
return 0;
|
||||
|
||||
#ifdef INSN_REFERENCES_ARE_DELAYED
|
||||
if (INSN_REFERENCES_ARE_DELAYED (control))
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (JUMP_P (control))
|
||||
annul_p = INSN_ANNULLED_BRANCH_P (control);
|
||||
|
@ -392,11 +392,9 @@ mark_referenced_resources (rtx x, struct resources *res,
|
||||
include_delayed_effects
|
||||
? MARK_SRC_DEST_CALL : MARK_SRC_DEST);
|
||||
|
||||
#ifdef INSN_REFERENCES_ARE_DELAYED
|
||||
if (! include_delayed_effects
|
||||
&& INSN_REFERENCES_ARE_DELAYED (as_a <rtx_insn *> (x)))
|
||||
return;
|
||||
#endif
|
||||
|
||||
/* No special processing, just speed up. */
|
||||
mark_referenced_resources (PATTERN (x), res, include_delayed_effects);
|
||||
|
Loading…
Reference in New Issue
Block a user