Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A processor implements a fiveve-stage instruction pipeline that implements full forwarding. The following code are executed using this processor and predict always taken is employed

A processor implements a fiveve-stage instruction pipeline that implements full forwarding. The following code are executed using this processor and predict always taken is employed as the branch prediction technique. LD R1, 24(R5) DADD R2, R4, R1 BEQ R2, R6, Dest DADDUI R1, R1, #1 LD R4, 4(R5) Dest: DADD R3, R2, R4 (a) Suppose the branch prediction is correct (branch is taken). Draw a dia- gram to show the pipeline stages for execution of instructions 1, 2, 3 and 6. Show the forward and stalls in the diagram if they are used. What is the speedup factor of this pipelining method when compared with not using pipelining? We assume every instruction takes 5 cycles on non-pipeline design. (b) Redraw the diagram if the prediction is wrong (branch is actually not taken). Show the execution steps from instruction 1 to 6. In this case, what is the speedup factor when compared with not using pipelining?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions

Question

KEY QUESTION Refer to the table in question

Answered: 1 week ago