Question: 1 . A certain program contains 2 , 4 8 0 , 0 0 0 instructions. Each instruction is executed exactly once on a processor
A certain program contains instructions. Each instruction is executed exactly
once on a processor running at a GHz clock rate. The program contains no branch or jump
instructions. Twentytwo percent of the instructions are lw instructions, twelve percent of
the instructions are sw instructions, and all of the remaining instructions are Rtype
instructions. Recall that our MIPS pipeline system is an example of a scalar pipeline since
no more than one instruction at a time can occupy any stage. Answer the following
questions about this program.
a If the first instruction to enter the empty scalar pipeline is an Rtype instruction,
what is the maximum number of nanoseconds required for that Rtype instruction to
complete all five pipeline stages if the clock rate is GHz
b After the first Rtype instruction completes the writeback stage, what is the
maximum throughput for the pipeline? Recall that the throughput is the number of
instructions per second the pipeline completes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
