A branch predictor simulator with analysis (for Computer Architecture class)