Mercurial > libavcodec.hg
diff apedec.c @ 12032:572c81b3be19 libavcodec
CMOV-ify vp56 arithcoder
This incantation causes gcc 4.3 to generate cmov on x86, a vastly better option
than a completely unpredictable branch.
Hopefully this carries over to newer versions and other CPUs with conditionals.
~5 cycles saved per call on a Core i7.
author | darkshikari |
---|---|
date | Wed, 30 Jun 2010 23:18:47 +0000 |
parents | c7455450364d |
children |