Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote