Docsity

Computer Architecture HW2: Calculating Cycle Requirements for Instructions, Assignments of Advanced Computer Architecture

Toggle sidebar
bg1
Computer Architecture Homework #2
Assigned Question #3
(a) three loads and single store miss
= 3 x 100 + 1 x 100 = 400 cycles
(b) 32 Kbyte / 512 = 64 bytes per iterations
64 / 16 = 4 cycles per iterations
Thus, it needs 4 x 100 = 400 cycles
(c) Similar to above question (b),
32 Kbyte / 512 = 64 bytes per iterations
64 / 64 = 1 cycles per iterations
Thus, it needs 1 x 100 = 100 cycles
(d) 2048 bytes / 512 = 4 bytes per iterations
Thus, it needs 4 x 100 = 400 cycles

Partial preview of the text

Download Computer Architecture HW2: Calculating Cycle Requirements for Instructions and more Assignments Advanced Computer Architecture in PDF only on Docsity!

Computer Architecture Homework # 2

Assigned Question # 3 (a) three loads and single store miss

= 3 x 100 + 1 x 100 = 400 cycles

(b)32 Kbyte / 512 = 64 bytes per iterations 64 / 16 = 4 cycles per iterations

Thus, it needs 4 x 100 = 400 cycles

(c) Similar to above question (b), 32 Kbyte / 512 = 64 bytes per iterations 64 / 64 = 1 cycles per iterations

Thus, it needs 1 x 100 = 100 cycles

(d) 2048 bytes / 512 = 4 bytes per iterations

Thus, it needs 4 x 100 = 400 cycles