Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Comunicados
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussões

Calculating Branch Mispredicts on IPF

Intel_C_Intel
Funcionário
1.108 Visualizações
Can someone please tell me the simplest way (if one exists) to calculate branch mispredicts on the Itanium 2 platform. Since there is no recipe for this ratio already in the tool, you are forced to go to the Events dialog and select from what appear to be many many branch event counters. I opted to grab "Branch Events" and "BE_BR_MISPRED_DETAIL-ANY".

I'm having trouble believing the output. Please help.
0 Kudos
1 Responder
bnshah
Principiante
1.108 Visualizações
There is no easy way due to the complexity of the Itanium 2 branch prediction logic. Here is a forumula you can use. It will you the branch misprediction ratio. .

((BR_MISPRED_DETAIL.ALL.ALL_PRED - BR_MISPRED_DETAIL2.ALL.ALL_UNKNOWN_PRED) -
(BR_MISPRED_DETAIL.ALL.CORRECT_PRED - BR_MISPRED_DETAIL2.ALL.ALL_UNKNOWN_PATH_CORRECT_PRED) ) /
(BR_MISPRED_DETAIL.ALL.ALL_PRED - BR_MISPRED_DETAIL2.ALL.ALL_UNKNOWN_PRED)

Responder