[FFmpeg-devel] -fsingle-precision-constant

Michael Niedermayer michaelni
Thu May 13 19:13:19 CEST 2010


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 exactly does this option do? is this just affecting calculations
between float and constants or is it doing something silly to pure double
calculations too?
If it does nothing silly we could maybe enable it globally otherwise a
different solution would have to be found

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100513/2a17024e/attachment.pgp>

More information about the ffmpeg-devel mailing list