Answered step by step
Verified Expert Solution
Question
1 Approved Answer
| A pipelined CPU must address the issue of dealing with branches. Branch dependencies reduce the overall execution rate. In RISC machines, the delayed
| A pipelined CPU must address the issue of dealing with branches. Branch dependencies reduce the overall execution rate. In RISC machines, the "delayed branch" strategy is commonly used to optimise branching. Using the strategy to improve performance, code reorganization techniques have been developed so that the execution order of instructions can be re-arranged without changing the original semantics of the program. Consider the following instructions in Figure 3. MOV # 5. R00 SUB #1, R00 JUMP SSTORE ADD R00, R01 STORE: HLT Figure 3 3.2) To simulate the "delayed branch" strategy, re-arrange the instructions in Figure 3 accordingly to improve the total time required (i.e. improving total clock cycles). Run the re-arranged instructions and print screen the Instruction Pipeline result window. [2 marks] Answer: 3.3) Explain briefly the improvement made by the re-arrangement of the instructions in question 3.2. [2 marks]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
That is correct The code flattens the twodimensiona...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