Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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
image text in transcribed
ty for helping!
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions