







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































th
e
s
B-‐ tag v
b
e
s
tag B-‐ v
b
t bits s bits b bits
data begins at this offset
t bits 0…01 100
v tag 0 1 2 3 4 5 6 7
tag
t bits 0…01 100
v tag 0 1 2 3 4 5 6 7
int sum_array_rows(double a[16][16])
int i, j;
double sum = 0;
for (i = 0; i < 16; i++)
for (j = 0; j < 16; j++)
sum += a[i][j];
return sum;
int sum_array_cols(double a[16][16])
int i, j;
double sum = 0;
for (j = 0; i < 16; i++)
for (i = 0; j < 16; j++)
sum += a[i][j];
return sum;
t bits 0…01 100
v tag 0 1 2 3 4 5 6 7 v tag 0 1 2 3 4 5 6 7
v tag 0 1 2 3 4 5 6 7 v tag 0 1 2 3 4 5 6 7
v tag 0 1 2 3 4 5 6 7 v tag 0 1 2 3 4 5 6 7
v tag 0 1 2 3 4 5 6 7 v tag 0 1 2 3 4 5 6 7
t bits 0…01 100
v tag 0 1 2 3 4 5 6 7 v tag 0 1 2 3 4 5 6 7
2
2
2
2
2