[FFmpeg-devel] -fsingle-precision-constant

Ronald S. Bultje rsbultje
Thu May 13 19:31:07 CEST 2010


Hi,

On Thu, May 13, 2010 at 1:13 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> when i looked at the asm gcc generates for mp3float i noticed it converts
> floats to doubles all over the place.
> Adding -fsingle-precision-constant makes the code a whole 10% faster overall
> on core2

What if you add "f" as a postfix to relevant constants? Or can you
give examples of functions where this is an issue so we can be more
helpful?

Ronald



More information about the ffmpeg-devel mailing list