What is steady-state cpi

Assignment Help Computer Engineering
Reference no: EM133088

Question

Assume this loop is taken many times, what is steady-state CPI of this loop on the scalar pipeline discussed in class, with forwarding, branch resolution done in ID stage, and no branch delay slot?

loop: lw $6, 4000($7)
add $9, $6, $3
or $5, $9, $6
lw $2, 2000($5)
add $3, $9, $2
subi $5, $5, 12
sw $9, 2000($3)
bne $9, $0, loop

Now assuming same machine but with a branch delay slot, rearrange this code to improve performance, and give the new CPI.

Reference no: EM133088

Questions Cloud

Program to evaluate case statement : Program to evaluate case statement
What is the data rate : What is the data rate
Which of following statements is true : Which of following statements is true
How to generate a hub-and-spoke network : How to generate a hub-and-spoke network
What is steady-state cpi : What is steady-state CPI
Write down a program on visual basic format : Write down a program on visual basic format
Design a chart that showing input, output, and processing : Design a  chart that showing input, output, and processing
Write a non-recursive version of the process fibonacci : Write a non-recursive version of the process Fibonacci
Write down the definitions for a double-stack structure : Write down the definitions for  a double-stack structure

Reviews

Write a Review

Computer Engineering Questions & Answers

  Ip cameras to improve security for devry university

IP cameras to improve security for DeVry University.

  What is microprocessor - motorola 68k assembly language

What is microprocessor - Motorola 68k assembly language? Implement your plan using a user vectored interrupt number 3. Use busy line from the printer to trigger the interrupt. The printer interrupt level is 2. Explain the extra hardware to make t..

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Explain examples of type of knowledge industry

Explain examples of type of knowledge industry

  How to produce a wired and wireless network plan

How to produce a wired and wireless network plan

  Write down an assembly language program

Write down an assembly language program The product number from one to five (3 characters wide, right justified)

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Produce a book class that stores book information

Produce a Book class that stores book information

  How to plan a payroll class

How to plan a PayRoll class.

  Describe mutual strategy to maintain enterprise-level system

Describe mutual strategy to maintain enterprise-level system

  What do you mean by pseudocode and case subroutine call

What do you mean by pseudocode and case Subroutine call

  What are pros and cons of society''s increasing reliance data

What are pros and cons of society's increasing reliance data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd