
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this computer science lab exercise, students are asked to expand their matrix multiplication program from lab #4 to handle 6x6 matrices and unroll the inner loop for improved performance. The exercise is to be completed in two versions: once with the inner loop unrolled twice (three iterations), and once with the inner loop unrolled three times (two iterations). Students are then required to compare the program length, register usage, and conceptual complexity of the two versions.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Lab #
Take your matrix multiply program from Lab#4 and expand it to read in 6x6 matrices, then unroll the inner loop
a. 2 times (three iterations of the unrolled loop) b. 3 times (two iterations of the unrolled loop)
Compare the program length, register usage and conceptual complexity.
Email to me as usual (two separate programs for a and b).