[MPlayer-dev-eng] [OT] C-code Optimiation Contest

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jul 15 01:57:08 CEST 2003


Hi,

if you like to have some fun, try optimizing the attached simple matrix 
multiply and post your results.

The Rules:
1. you may only modify multiply_d.[ch] (NUM should stay 512 though)
2. you may change compiler and optims in Makefile
3. precision must stay the same
4. to compare, you should compile the orginal code:
    make && copy matrix matrix.org && (./matrix.org >res.org)
5. then later you can compare results via:
   make && (./matrix >res.txt) && diff -q res.org res.txt

Have fun!

Btw. current results by me is 738% of original speed, arpis results are even 
better, as he included my tips in his alredy optimized code =))))
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: matrix.org.tgz
Type: application/x-tgz
Size: 860 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030715/aa9fe0d2/attachment.bin>


More information about the MPlayer-dev-eng mailing list