Supporting code for the projects of my NTUA ECE Advanced Computer Architecture 2018 course.
Based on this pintool, also implements L2 prefetcher functionality.
Based on this pintool, also implements:
- Static Taken predictor
- Static BTFNT predictor
- Global History predictor
- Local History predictor
- Tournament predictor
- RAS (Return Address Stack)
- BTB (Branch Target Buffer)
Furthermore, stats are reported in a more verbose manner and saved in an output file.
Based on this code, implements:
- TAS (test and set) spinlocks using atomic instructions
test_and_set
andcompare_and_swap
- TTAS (test and test and set) spinlocks using atomic instructions
test_and_set
andcompare_and_swap
~ Aggelos Kolaitis