user-guided speculative precomputation? (my wacky ia64 idea)

Jim Wilson wilson@specifixinc.com
Tue Apr 6 06:02:00 GMT 2004


Duraid Madina wrote:
> tricky to do this automatically, but my question to the group is: would 
> it be sensible to add support for something like a "#pragma 
> delinquent_load" that could be inserted at the appropriate point in e.g. 
> graph/tree/list traversal code etc.? A "cookie cutter" prefetching 
> sequence could then be fitted in the reserved area alongside the main 
> thread

You didn't define what #pragma delinquent_load does, and I don't have a 
copy of that paper.

Probably you would have to try to implement it before you can tell 
whether you can make it work.

The limited number of bundle formats makes it difficult to reserve an 
issue slot.  You will get differing types of left-over slots depending 
on what instructions from the main thread get scheduled, and you will 
have differing types of insns that need to fit into those slots.  This 
could lead to a difficult packing problem.  And there is also the issue 
of stop bits.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list