vN Model Contributes To Success
•The cost of C statements on the vN machine is “understood” by C programmers …
•How much time does A[r][s] += B[r][s]; require?
•Load row_size_A, r, s, A_base, B_base (5)
•temp = (row_size_A * r + s) * data_size (3)
•A_base + temp; B_base + temp; load both values (4)
•Add values and return to memory (2)
•Same for many operations, any data size
•Result is measured in “instructions” not time
•Efficient and Economical and Easy to Write
Widely known and effectively used