5.3.2 BranchPrediction output

The following example command line loads the BranchPrediction plug-in into a model:

./EVS_Base_Cortex-A73x1 -a __image.axf \
… 
--plugin $PVLIB_HOME/plugins/Linux64_GCC-5.4/BranchPrediction.so \
-C BranchPrediction.BranchPrediction.predictor-type=BiModalPredictor \
-C BranchPrediction.BranchPrediction.mispredict-latency=8 \
-C BranchPrediction.BranchPrediction.bpstat-pathfilename=bpstat.txt \
-C BranchPrediction.BranchPrediction.bpstat-branchcount=5

This command produces the following log file:

Processor Core: ARM_Cortex-A73
Cluster instance: 0
Core instance: 0
Mispredict Latency: 8
Image executed: __image.axf
PredictorType: BiModalPredictor
Total branch calls: 7757
Total Mispredictions: 130
Average prediction accuracy: 0.983241
Conditional Branches: 139
Total unique branch instructions: 289
--Branch instructions--
   		PC Addr      Calls    Mispredict Accuracy
	[0]	0x0          2        0          1
	[1]	0x80000000   1        0          1
	[2]	0x8000000c   10       0          1
	[3]	0x80000014   10       0          1
	[4]	0x8000001c   10       0          1
Non-ConfidentialPDF file icon PDF version100964_1161_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.