I know what are both locality principles and pipelining techniques. But I can't see any sort of interconnection between the two things.
How can locality principles impact pipelining techniques?
I know what are both locality principles and pipelining techniques. But I can't see any sort of interconnection between the two things.
How can locality principles impact pipelining techniques?
One case I could think of is the instruction cache hit during IF stage. Spatial locality is likely to increase instruction cache hits when there is less flow control. Also when there is flow control, like a loop, temporal locality will increase the hit rate of the instruction cache. If the IF is not succeed due to a cache miss, pipeline has to be stalled, which can be solved by locality principles.