Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The MIPS system includes a CPU that handles integer instructions and two coprocessors: CP 0 the system coprocessor that records information needed to handle exceptions
The MIPS system includes a CPU that handles integer instructions and two coprocessors: CP the system coprocessor that records information needed to handle exceptions and interrupts, and CP to handle floating point instructions. The control unit determines what operation an instruction performs by examining the instruction opcode. Indicate for each of the following instructions whether it is executed by the CPU, by CP or by CP:
div
mult
cvtws
mtc
lwc
mfc
swc
A processor has a clock rate of GHz and executes million instructions from a program with an average CPI of Three techniques that can be used to improve the performance of the program are:
Option : optimize the program so that it only executes million instructions.
Option : double the clock rate of the processor.
Option : carefully select the instructions in the program so that the average CPI is reduced from to
For each of these options used alone, compute the resulting speedup for the program. Speedup is defined as the ratio of the execution time before the change to the execution time after the change.
Speedup provided by option
Speedup provided by option
Speedup provided by option
The native MIPS rating for a machine code program on processor is The program on processor has an average CPI of Compiling the same program for processor produces a machine code program that executes the same number of machine instructions but with an average CPI of Both processors run at a GHz clock rate. What is the relative MIPS rating for the program running on processor compared to the program running on processor
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started