Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a version of the pipeline from Section 4.5 in the book that does not handle data hazards (i.e. the programmer is responsible for addressing

Consider a version of the pipeline from Section 4.5 in the book that does not handle data hazards (i.e. the programmer is responsible for addressing data hazards by inserting NOPs where necessary). Supposed that after optimization a typical n-instruction program requires an additional 0.4*n NOPs to correctly handle data hazards. (16 pts)

image text in transcribed

Consider a version of the pipeline from Section 4.5 in the book that does not handle data hazards (i.e. the programmer is responsible for addressing data hazards by inserting NOPs where necessary). Supposed that after optimization a typical n-instruction program requires an additional 0 . 4 *n NOPs to correctly handle data hazards. (16 pts) 3. Supposed that the cycle time of this pipeline without forwarding is 250 ps. Supposed also that adding forwarding hardware will reduce the number of NOPs from 0.4*n to 0.05 n, but will increase the cycle time to 300ps. What is the speedup of this new pipeline compared to the one without forwarding? (4 pts) a. b. Different programs will require different amounts of NOPs. How many NOPs (as percentage of all instructions in a program) can remain in the typical program before that program runs slower on the pipeline with forwarding? (4 pts) NOPs possible run faster on the pipeline with Can a program with only 0 . 075 *n forwarding? Explain why or why not. (4 pts) c. d. At a minimum, how many NOPs (as a percentage of code instructions) must a program have before it can possibly run faster on the pipeline with forwarding? (4 pts) Consider a version of the pipeline from Section 4.5 in the book that does not handle data hazards (i.e. the programmer is responsible for addressing data hazards by inserting NOPs where necessary). Supposed that after optimization a typical n-instruction program requires an additional 0 . 4 *n NOPs to correctly handle data hazards. (16 pts) 3. Supposed that the cycle time of this pipeline without forwarding is 250 ps. Supposed also that adding forwarding hardware will reduce the number of NOPs from 0.4*n to 0.05 n, but will increase the cycle time to 300ps. What is the speedup of this new pipeline compared to the one without forwarding? (4 pts) a. b. Different programs will require different amounts of NOPs. How many NOPs (as percentage of all instructions in a program) can remain in the typical program before that program runs slower on the pipeline with forwarding? (4 pts) NOPs possible run faster on the pipeline with Can a program with only 0 . 075 *n forwarding? Explain why or why not. (4 pts) c. d. At a minimum, how many NOPs (as a percentage of code instructions) must a program have before it can possibly run faster on the pipeline with forwarding? (4 pts)

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

Explain the goals of financial analysis in detail.

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago