A program’s run time is determined by the product of instructions per program, c
ID: 3766170 • Letter: A
Question
A program’s run time is determined by the product of instructions per program, cycles per instruction, and clock frequency. Assume the following instruction mix for a MIPS-like RISC instruction set:
15% stores, 30% loads, 20% branches, and 25% integer arithmetic, 5% integer shift, and 5% integer multiply. Given that stores require one cycle, load instructions require 3 cycles, branches require 4 cycles, integer ALU instructions require 1 cycle, and integer multiplies require 9 cycles,
1. Compute the overall CPI.
2. Suggest an improvement to lower the overall CPI. Give extensive explanation of why your suggestion will work.
Explanation / Answer
1.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.