This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: law - Re: 2nd try for patch for automaton based pipeline hazard recognizer


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]