Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 . 1 5 lw is the instruction with the longest latency on the CPU from Section 4 . 4 . If we modified lw

4.15 lw is the instruction with the longest latency on the CPU from
Section 4.4. If we modified lw and sw so that there was no offset (i.e., the
address to be loaded from/stored to must be calculated and placed in rs
before calling lw/sw), then no instruction would use both the ALU and
Data memory. This would allow us to reduce the clock cycle time.
However, it would also increase the number of instructions, because
many ld and sd instructions would need to be replaced with lw/add or
sw/add combinations.
4.15.1[5]<4.4> What would the new clock cycle time be?
4.15.2[10]<4.4> Would a program with the instruction mix
presented in Exercise 4.7 run faster or slower on this new CPU? By
how much? (For simplicity, assume every lw and sw instruction is
replaced with a sequence of two instructions.)
4.15.3[5]<4.4> What is the primary factor that influences whether
a program will run faster or slower on the new CPU?
4.15.4[5]<4.4> Do you consider the original CPU (as shown in
Figure 4.21) a be

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

Can options that are written qualify for hedge accounting?

Answered: 1 week ago

Question

Brief the importance of span of control and its concepts.

Answered: 1 week ago

Question

What is meant by decentralisation?

Answered: 1 week ago