Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

PGO & cache capacity

bronx
Beginner
260 Views
Here is a simple (well, I hope so...) question about profile-guided optimizations with ECL 7.1 (IPF targets) :

Does the platform where the prof_gen compilation and the instrumented execution are made has any influence on the binary obtained later with the final feedback compilation ? Particularly: does the cache capacity of the MPU has any impact on the code generated when using PGOs ?



0 Kudos
2 Replies
Maximillia_D_Intel
260 Views
Bronx,

No. PGO really has no awareness of cache sizes or hit/miss rates. Its instrumentation is mainly measuring control flow and basic block counts. It does not measure cache hit or any other events you could measure using say for example, the processor's performance counters.

Max
bronx
Beginner
259 Views
thanks a lot for your answer
Reply