A branch prediction tool written in C for the Lab 2 of CS4342 Advanced Computer Architecture
(On Linux only)
-gcc (GNU C Compiler)
-gunzip
-
go to "Source" directory
-
run the following command -bash predict_all.sh
-
all results will be printed in the shell
-
go to "Source" directory
-
run the following command (the executable "predictor will be generated") -gcc -o predictor main.c predictorlib.c predictors.c linkedlist.c -I.
-
run individual tests using following command -./predictor -i -p * ex: ./predictor ./traces 12queens -p 1 * the trace file should be extracted first in order to run