Using Intel Pintool to analyze branch prediction
- Download Pintool from source
- Copy bp_analyzer to pin/source/tools/MyPinTool, then modify
makefile.rule
script target - Run
make TARGET=intel64
- Take
tar
as testbench, run with../../../pin -t obj-intel64/bp_analyzer.so -- /bin/tar
The output log name will beoutput.log
in current directory