This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: law - Re: 2nd try for patch for automaton based pipeline hazard recognizer
- To: Vladimir Makarov <vmakarov at toke dot toronto dot redhat dot com>
- Subject: Re: law - Re: 2nd try for patch for automaton based pipeline hazard recognizer
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 20 Jul 2001 16:38:56 -0700
- Cc: law at redhat dot com, gcc-patches at gcc dot gnu dot org
- References: <200107202139.RAA31276@toke.toronto.redhat.com>
On Fri, Jul 20, 2001 at 05:39:38PM -0400, Vladimir Makarov wrote:
> + if (USE_AUTOMATON_PIPELINE_INTERFACE)
> + /* DFA pipeline hazard recognizer needs to have
> + non-negative insn code. */
> + recog_memoized (insn);
> +
> if (!CANT_MOVE (insn)
> && (!IS_SPECULATIVE_INSN (insn)
> ! || ((0
> ! || (USE_AUTOMATON_PIPELINE_INTERFACE
> ! && INSN_CODE (insn) >= 0
> ! && min_insn_conflict_delay (curr_state, insn,
> ! insn) <= 3)
> ! || (!USE_AUTOMATON_PIPELINE_INTERFACE
> ! && insn_issue_delay (insn) <= 3))
Instead of calling recog_memoized and discarding the value, use
(USE_AUTOMATON_PIPELINE_INTERFACE
&& recog_memoized (insn) >= 0
&& min_insn_conflict_delay ...
r~