Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1) Integer pipeline (Fig. 2.3). Assume that registers are written in the 1st half of the clock cycle, read in the 2nd half. Show cycle
1) Integer pipeline (Fig. 2.3). Assume that registers are written in the 1st half of the clock cycle, read in the 2nd half. Show cycle by cycle execution of the following code segment. Identify every possible type of hazard, mark the hazards by arrows. The processor does not use forwarding, resolve all hazards by stalling. Shows stalls as letter "S" in an appropriate cycle. Execute all instructions shown after the branch is resolved. The branch is not taken (after it is resolved).
Instr/Clock Cycle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Xor R4, R5, R9 IF ID Ex M Wb Add R1, R1, #4 Sub R6, R5, R4 BNE R1, R7, L_ Ld R5, 52(R6) St R6, 8(R4) Sub R7, R5, R4 Add R2, R5, R7 ... L_:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started