Mercurial > libavcodec.hg
comparison dsputil.h @ 4040:9eaea06c5ba6 libavcodec
optimize sign decoding code in decode_residual()
x86 is 4% faster on P3
C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C)
... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all
author | michael |
---|---|
date | Thu, 19 Oct 2006 01:19:03 +0000 |
parents | c8c591fe26f8 |
children | 23da44e8fd05 |
comparison
equal
deleted
inserted
replaced
4039:866a83726985 | 4040:9eaea06c5ba6 |
---|