hw4_cache - Cache state before Instruction 1 $t0 =...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Cache state before Instruction 1 $t0 = 0x0000ABCD $t1 = 0x0000ABC8 $t2 = 0xFEEDBEEF $t3 = 0x00ECE314 $t4 = 0x76543210 $t5 = 0x00ECE230 Line Tag V D LRU Data 0 00000000 0 0 0 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 00000000 0 0 0 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 00000000 0 0 0 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Instruction 1 : sw $t3, 3($t0) EFective Address = 0x0000ABD0 , Writing value in $t3 ( 0x00ECE314 ) Tag = 00000ABD, Cache Line = 0, OFset = 0, Way=0 COLD MISS 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Cache state before Instruction 2 $t0 = 0x0000ABCD $t1 = 0x0000ABC8 $t2 = 0xFEEDBEEF $t3 = 0x00ECE314 $t4 = 0x76543210 $t5 = 0x00ECE230 Line Tag V D LRU Data 0 00000ABD 1 1 0 00 EC E3 14 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 00000000 0 0 1 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 00000000 0 0 1 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Instruction 2 : sw $t4, 0($t4) EFective Address = 0x76543210 , Writing value in $t4 ( 0x76543210 ) Tag = 07654321, Cache Line = 0, OFset = 0, Way=1 COLD MISS 2
Background image of page 2
Cache state before Instruction 3 $t0 = 0x0000ABCD $t1 = 0x0000ABC8 $t2 = 0xFEEDBEEF $t3 = 0x00ECE314 $t4 = 0x76543210 $t5 = 0x00ECE230 Line Tag V D LRU Data 0 00000ABD 1 1 1 00 EC E3 14 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 07654321 1 1 0 76 54 32 10 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU Data 0 00000000 0 0 2 00 00 00 00 00 00 00 00 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Instruction 3 : sw $t5, 12($t1) EFective Address = 0x0000ABD4 , Writing value in $t5 ( 0x00ECE230 ) Tag = 00000ABD, Cache Line = 0, OFset = 4, Way=0 CACHE HIT 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Cache state before Instruction 4 $t0 = 0x0000ABCD $t1 = 0x0000ABC8 $t2 = 0xFEEDBEEF $t3 = 0x00ECE314 $t4 = 0x76543210 $t5 = 0x00ECE230 Line Tag V D LRU Data 0 00000ABD 1 1 0 00 EC E3 14 00 EC E2 30 1 00000000 0 0 0 00 00 00 00 00 00 00 00 Line Tag V D LRU
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 13

hw4_cache - Cache state before Instruction 1 $t0 =...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online