Speed Gain
n
On image of 256x256 pixels
n
Old C code executes 26*256*256
instructions = 1,703,936 instructions
n
Optimised mmx code executes 6*256*32
instructions = 49,152
n
Note that no compiler currently will give
the optimised code. It has to be hand
assembled.