On 02/11/2011 07:43 PM, Frédéric RISS wrote: > Le vendredi 11 février 2011 à 13:33 +0100, Bernd Schmidt a écrit : >> Suppose I have two insns, one reserving (A|B|C), and the other reserving >> A. I'm observing that when the first one is scheduled in an otherwise >> empty state, it reserves the A unit and blocks the second one from being >> scheduled in the same cycle. This is a problem when there's an >> anti-dependence of cost 0 between the two instructions. > > If you generate a NDFA ( using '(automata_option "ndfa")' ) it should > allow you to schedule both instructions together as this should try all > functional unit alternatives.
Ah, that seems to be exactly what I was looking for. Thanks! I'd expect this won't work too well with define_query_cpu_unit, so I'll need another method to assign units after scheduling. Bernd