Consider a 5-stage pipeline where branch behavior is known a…
Consider a 5-stage pipeline where branch behavior is known at the end of the third stage, EX. You’re given a workload comprised of 25% branches, 10% loads, 5% stores, and 50% arithmetic. 75% of the branches are correctly predicted. What is the average number of stall cycles for this workload, assuming there are no hazards aside from control hazards?
Read DetailsA 2-row GShare predictor is shown below. It has a 2-bit GHR….
A 2-row GShare predictor is shown below. It has a 2-bit GHR. The least significant bit of the PC is used for indexing into this predictor. GHR: 10 Index 00 01 10 11 0 10 11 10 00 1 01 01 10 10 The branch PC is 0xEEEE1206. The actual behavior is NT. The branch is predicted as [behavior] (enter T or NT). Show the updated predictor. Only enter values that change, and enter a dash ‘-‘ (without the quotes) for entries that don’t change. Index 00 01 10 11 0 [000] [001] [010] [011] 1 [100] [101] [110] [111] The updated GHR is [ghr].
Read Details