Question: Question # 1 : A processor executes arithmetic instructions in 5 cycles, branch instructions in 4 cycles and memory instructions in 1 0 cycles.

Question \#1: A processor executes arithmetic instructions in 5 cycles, branch instructions in 4 cycles and memory instructions in 10 cycles. You have a program where \(30\%\) of all instructions are arithmetic instructions, \(35\%\) of all instructions are memory instructions, and the rest are branch instructions. You figured out that the processor cannot execute the program fast enough to meet your performance goals. Your goal is to reduce the execution time of this program by at least \(10\%\). Hence, you decide to change the processor design to improve the performance of arithmetic instructions. In the new processor design, at most how many cycles should the execution of a single arithmetic instruction take to reduce the execution time of the entire program by at least \(10\%\)? Show your work.
Question \#2: The execution time of a given benchmark is 100 ms on a 500 MHz processor. Assume you are designing the next generation of the processor; notice that a new implementation enables the processor to run at 750 MHz . However, the modifications increase the CPI by 20\% for the same benchmark.
(a) What is the execution time expressed in terms of the number of cycles taken for the old generation of the processor (i.e., before the modifications)? Assuming that the IPC is 2, what is the number of instructions in the benchmark?
(b) What is the execution time of the benchmark in milliseconds for the new generation of the processor?
(c) What is the speedup or slowdown of the new generation processor over the old generation?
Question \ # 1 : A processor executes arithmetic

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!