CS 10 Lab #5: Matrix Multiplication with Unrolled Inner Loop, Exams of Advanced Computer Architecture

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

2014/2015

Uploaded on 11/13/2015

Boris.Ruskov
Boris.Ruskov 🇬🇧

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 10
Lab #5
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).

Partial preview of the text

Download CS 10 Lab #5: Matrix Multiplication with Unrolled Inner Loop and more Exams Advanced Computer Architecture in PDF only on Docsity!

CS 10

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).