Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following sequence of instructions: (I1) beq $9, $10, EXIT (I2) add $9, $11, $12 (I3) lw $16, 12($9) (I4) sw $16, 16($19) (I5)

Consider the following sequence of instructions:

(I1) beq $9, $10, EXIT

(I2) add $9, $11, $12

(I3) lw $16, 12($9)

(I4) sw $16, 16($19)

(I5) sw $18, 0($11)

(I6) add $4, $0, $0

(I7) add $5, $0, $0

Assume the following:

  • There are no stalls in the code above
  • 5 stage pipeline (IF, ID, EX, MEM, WB) is available
  • Each instruction executes every stage
  • No branch stalls
  1. Draw the pipeline stage table and identify instructions and stages in the table.
  2. What is the Pipeline Instructions Latency?
  3. What is the Pipeline Instructions Throughput?
  4. What is the Pipeline Instructions Concurrency? For the same code Assume the following:
    • There are no stalls in the code above
    • 5 stage pipeline (IF, ID, EX, MEM, WB) is available
    • Stages IF, ID, and EX take 100 ps, MEM takes 200 ps, and WB takes 150 ps
    • Each instruction executes every stage
    • No branch stalls
    Compute the total time needed to execute the code with and without the pipeline.

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

=+3. What is its quality?

Answered: 1 week ago