Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that we have a program that contains 500 million arithmetic instructions, 300 million load/store instructions, and 100 million branch instructions. We want to run

image text in transcribed

Assume that we have a program that contains 500 million arithmetic instructions, 300 million load/store instructions, and 100 million branch instructions. We want to run this program on two different computers of the same ISA and assume that each computer operates at 3GHz. On the first computer: - arithmetic instructions have CPI of 1 - load/store operations have CPI of 10, and - branch instructions have CPI of 3. On the other hand, on the second computer: - arithmetic instructions have CPI of 4 - load/store instructions have CPI of 40, and - branch instructions have CPI of 3. a) What would be the execution time of this program on these machines? b) Assume that we added more powerful arithmetic instructions to the given instruction set. On average, by using these more powerful arithmetic instructions, we can reduce the number of arithmetic instructions needed by 25%; however, the clock cycle increases by 10%. Is this a good design choice? Why (show the impact of this change on the performance of both computers)

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

What are the key features of an algorithm?

Answered: 1 week ago