Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 2 3 pls ty for helping! 1. (18 points) (Pipeline hazards) Pipeline hazards make the pipeline cannot execute smoothly. The three pipeline hazards are
1 2 3 pls
1. (18 points) (Pipeline hazards) Pipeline hazards make the pipeline cannot execute smoothly. The three pipeline hazards are structure hazard, data hazard, and control hazard. For each of the hazard, name one technique that solves the hazard without. causing pipeline stalls, and explain the reason that the technique can solve the hazard without pipeline stalls. 2. (20 points) (Loop unrolling and instruction reordering) Given the code segment shown below, assume we use a conventional 5-stage pipeline. Load-use would cause 1-cycle pipeline stall, and branches are resolved at the instruction decode stage. Registers $ to $ t 9 are for temporal use. Please answer the following questions. Lor (a) (4 pts) Without loop unrolling and instruction reordering, how many cycles are needed to execute four iterations? (b) (16 pts) With loop unrolling that unrolls the loop four times and instruction reordering, how many cycles are required to execute four iterations? 3. (24 points) (Advanced pipelining) (a) ( 8 pts) Explain deepen pipeline and how the technique improve instructionlevel parallelism. (b) ( 8 pts) Explain multiple issue and the difference between static multiple issue and dynamic multiple issue. (c) (8 pts) Explain simultaneous multi-threading. You can use proper drawings to help explain ty for helping!
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