Question 4
Which of the following two processors will execute a program with the given instruction mix faster?
Name Processor A Processor B
Frequency 1GHz. 2GHz.
CPI for ALU Instructions 1 1.5
CPI for Branch Instructions 2 3
CPI for Memory Instructions 1 2
Instruction Mix:
50% ALU Instructions
10% Branch Instructions
40% Memory Instructions
12 points
- Processor A
- Processor B
- Both processors execute the program in the same amount of time