3.4
Phase Change Annotations
In this approach, the compiler identifies locations that are likely to correspond to
a phase. In these locations, it adds an instruction, named pchg (phase change).
The processor performs a lookup in the configuration buffer when encountering
this instruction, instead of at every branch. We have modified the
ρ-VEX com-
piler to add a pchg instruction at the top of every loop and every leaf function.
The compiler can choose to skip loops and functions that it estimates to have a
total execution time lower than a certain threshold.
Do'stlaringiz bilan baham: |