Please answer allquestions and show work. (Intro to Computer Architecture.)
Refer to the following table for the data required.
|
|
Arith
|
|
|
Store
|
|
|
Load
|
|
|
Branch
|
|
|
Instructions for a program
|
|
|
500
|
|
|
50
|
|
|
100
|
|
|
100
|
|
|
|
|
|
|
CPI
|
|
|
1
|
|
|
5
|
|
|
5
|
|
|
2
|
|
A.) Calculate execution time of a program on a 2 GHz processor.
B.) Find global CPI of the program.
C.) If number of load instructions can be reduced by one-half, what is the speed up and CPI?
D.) If number of store and arithmetic instructions can be reduced by one-half, what is the speed up and CPI?