[LLVMdev] Question on instruction itineraries

Eli Friedman eli.friedman at gmail.com
Wed Aug 17 12:47:54 PDT 2011


On Tue, Aug 16, 2011 at 10:44 PM, Miguel G <miguel at esenciatech.com> wrote:
> Thanks Eli. Somehow I was assuming the scheduler would insert NOPs to
> enforce latencies
> The CPU I'm dealing with doesn't automatically stall, i.e. latency must be
> ensured by the program.
> As an alternative to a pass, is it feasible to modify the scheduler to do so
> (optionally) or it would be too complicated.
> If possible, what would be the right place to look ?

Try grep'ing for NoopHazard.  Apparently there is some infrastructure,
and it's sort of used by the PPC backend, but I'm not sure how well it
works.

-Eli




More information about the llvm-dev mailing list