This preview shows page 1. Sign up to view the full content.
Unformatted text preview: the only sources of read and write misses, respectively. A. For each row and col, indicate whether the access to src[row][col] and dst[row][col] is a hit (h) or a miss (m). For example, reading src is a miss and writing dst is also a miss.
dst array col 1 col 2 src array col 1 col 2 row 0 row 1 row 2 row 3 col 0 m col 3 row 0 row 1 row 2 row 3 col 0 m col 3 Homework Problem 6.24 [Category 2]: Repeat Problem 6.23 for a cache with a total size of 128 data bytes.
dst array col 1 col 2 src array col 1 col 2 col 0 row 0 row 1 row 2 row 3 col 3 row 0 row 1 row 2 row 3 col 0 col 3 6.7. SUMMARY 341 Homework Problem 6.25 [Category 1]: 3M decides to make Post-Its by printing yellow squares on white pieces of paper. As part of the printing process, they need to set the CMYK (cyan, magenta, yellow, black) value for every point in the square. 3M hires you to determine the efﬁciency of the following algorithms on a machine with a 2048-byte directmapped data cache with 32-byte blocks. You are given the fol...
View Full Document