You are on page 1of 2

Question: Consider the following matrix transpose routine: typedef int ar…

Expert Answer

0 2

Answer for Given Question:

Given Array Sizes are 4 by 4

Given total size is 32 bytes

Policy Write through and write allocate

See the below dst and src array is lled with hit and miss of the data blcok sizes.

       dst array


------------------------------------
       col0   col1   col3   col4
------------------------------------
row1   m       h       h       h

row2   m       m       m       m

row3   m       m       m       m

row4   m       m       m       m


       src array
------------------------------------
       col0   col1   col3   col4
------------------------------------
row1   m       m       m       m

row2   m       m       m       m

row3   m       m       m       m

row4   m       m       m       m

You might also like