Mercurial > libavcodec.hg
comparison shorten.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 | f092b80c0da2 |
children | 8b28e74de2c0 |
comparison
equal
deleted
inserted
replaced
12031:5578dcdf030c | 12032:572c81b3be19 |
---|