- Jared Klingenberger [email protected]
- Shi Zheng [email protected]
This project includes three branch prediction algorithm implementations in Java:
- 2-bit Saturating Counter (BHT)
- gshare with 2-bit Saturating Counter (PHT)
- SAs scheme BTB (2-level adaptive branch prediction)
gunzip -c server_trace_1_4M.txt.gz | java -jar saturatingcounter.jar
gunzip -c server_trace_1_4M.txt.gz | java -jar gshare.jar
gunzip -c server_trace_1_4M.txt.gz | java -jar branchtargetbuffer.jar
Or, a convenience bash script has been included to run all three at once:
sh run.sh
A Word document with related graphs and statistical data is included in 330P2.docx.
This project was written for CpSc 3300 (Computer Systems Organization) at Clemson University.