cs320: measure the effectiveness of various branch direction prediction