pentium cache

pentium cache

Hi all.
I have a question about Pentium M cache (but the problem is more general).
By cpuid instruction I observe that it is a set associative cache.
Is there a way to know what block of cache will be used for each memory
address?
In PowerPc processor there is a manner to disable single way of cache so if
I leave only one way active for each set I'm sure of data location.
Is there a similar mechanism for Pentium?

Thanks a lot.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.