Skip to content

Optimization_4x4_10

Jianyu Huang edited this page Aug 11, 2016 · 4 revisions

Copy the contents of file MMult_4x4_9.c into a file named MMult_4x4_10.c and change the contents:

Change the first lines in the makefile to

OLD  := MMult_4x4_9
NEW  := MMult_4x4_10
  • make run
octave:3> PlotAll        % this will create the plot

This time the performance graph will look something like

Finally, we use the vector registers and vector operations.

Clone this wiki locally