Block size of an array
number of elements x element size
where an array and other local variables are stored
Stack frame
How array elements are accessed
Using load and store instructions
row-major ordering
store each element of row 0, then row 1, etc.
column-major ordering
Store each element of column 0, then column 1, etc.
Esize represents
element(cell) size in bytes
2D list [1,…,n][1,…,m]:
row-major order, list[i][j] is
((mi)+j)Esize
block size for an n-dimensional array
elements x elementSize
offsets of fields that happen to be structures
a 2nd set of offsets for this field’s offsets
(structure.subfield.value)