Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computer Architecture 1. ( 6 points) Suppose the following code segment is going to be executed in the 5 -stage pipeline of the SRC processor.
Computer Architecture 1. ( 6 points) Suppose the following code segment is going to be executed in the 5 -stage pipeline of the SRC processor. Id r9, addr 1 sub r5,r3,r9 add r7,r5,r10 st r7, addr 2 (a) (2 points) Find out all RAW hazards in the code segment. (b) (2 points) How many cycles are needed to complete the execution if data forwarding is used? Explain how all the RAW hazards are resolved. (c) (2 points) How many cycles are needed to complete the execution if data forwarding is not used? If an instruction needs to be stalled, list the number of cycles that this instruction has to be stalled. 2. (4 points) Referring to the following 1-bus SRC microarchitecture, write the concrete RTN steps for the instruction "sub ra, rb, rc
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