a) Assuming that arith instructions take 1 cycle, load and store 5 cycles, and branches 2
cycles, what is the execution time of the program in a 2 GHz processor?
b) Find the CPI for the program.
c) If the number of load instructions can be reduced by one half, what is the speedup and the
CPI
Download about computer architecture and more Cheat Sheet Computer Science in PDF only on Docsity!
® Teonden- Issue. ond Jn-oaden= exeeslion Fech Unit ponace Cisol Unit] Waite Back Clocn Ycle | 1) i oa mia 5 | We ap i = ; B T2 VW ig 7—| a) 15 alt oe me ; - Te CS a) aah am Z i if Ib {h WMD) 25) oy 07 ; f | eB a align Se ae | joa D Sora ken a Se oe 1] ii Jy oa 10 i . btooy Qi ty . =a at See eee rtm a — ee 2 TH ST RS iG ~ =a