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

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jul 15 17:04:32 CEST 2003


On Tuesday 15 July 2003 14:37, Florian-Wolfgang Stock wrote:
> Felix Buenemann <atmosfear at users.sourceforge.net> writes:
[...rules...]
>
> only by changing the Algorithm (and using the -03-option) I got a
> speedup of factor 14x on my Athlon. This should (more or less)
> independent from the CPU (maybe some Pentium guys can check this). If
> you now make specific optimzing you should get even more. Its just a
> lousy implementation kind of Strasser-Algorithm. If you take the
> original Algorithm you get even more speed, because, it needs only 7
> recursions instead of 8 (I only wanted to do it fast and short, so I
> took an easy variant of it).  So here is the code:
>
[...florians code...]
Not very fast here and the results are wrong:
Cycles: 1445112965  5.760
Dateien res.org und res.txt sind verschieden.
(Files res.org and res.txt differ.)

>
> Florian
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list