Question: Consider a hypothetical pipeline processor with the following characteristics: It has a 5 - stage pipeline: Instruction Fetch ( IF ) , Instruction Decode (
Consider a hypothetical pipeline processor with the following characteristics: It has a stage pipeline: Instruction Fetch IF Instruction Decode ID Execution EX Memory Access MEM and Write Back WB The processor employs a dynamic twobit branch predictor with a saturating counter The predictor starts in the state predict not taken for all branches. Branch instructions are resolved in the EX stage. The processor has a loop buffer that can store and quickly execute up to four recently executed instructions in a loop, bypassing the usual IF stage for these instructions. Given the following loop in a program: loopstart: add r r r sub r r r beq r r loopend nop j loopstart loopend: Each instruction takes one
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
