Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following code segment on the 5-stage Pipelined MIPS architecture we discussed in class: Loop: lw $t0, 0($s1) addu $t0, $t0, $s2 sw $t0,

Consider the following code segment on the 5-stage Pipelined MIPS architecture we discussed in class:

Loop: lw $t0, 0($s1) addu $t0, $t0, $s2 sw $t0, 0($s1) addi $s1, $s1, -4 bne $s1, $zero, Loop

Fill the pipeline schedule below for one iteration of the loop. Mark all hazards (e.g. you may use arrows). Assume forwarding between the pipeline stages is used whenever possible. Mark all data forwards. Also assume that the static "branch not taken" prediction strategy is used and that there is a 1 cycle penalty for branch misspredictions. Assume the loop is executed 10 times.

image text in transcribed

\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|} \hline instruction & CC1 & CC2 & CC3 & CC4 & CC5 & CC6 & CC7 & CC8 & CC9 & CC10 \\ \hline & & & & & & & & & & \\ \hline & & & & & & & & & & \\ \hline & & & & & & & & & & \\ \hline & & & & & & & & & & \\ \hline \end{tabular}

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

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

=+ c. a company president deciding whether to open a new factory

Answered: 1 week ago