[MPlayer-dev-eng] [PATCH] Enable FTZ and DAZ w/ -ffast-math
Zuxy Meng
zuxy.meng at gmail.com
Mon Feb 9 16:42:14 CET 2009
Hi,
2009/2/8 Zuxy Meng <zuxy.meng at gmail.com>:
> Hi,
>
> 2009/2/8 Diego Biurrun <diego at biurrun.de>:
>> On Mon, Feb 02, 2009 at 09:33:08PM +0800, Zuxy Meng wrote:
>>>
>>> GCC does a trick to enable FTZ (flush to zero) and DAZ (denormals are
>>> zeroes) when either -ffast-math or -funsafe-math-optimizations is used
>>> by linking crtfastmath.o into the executive. It requires the presence
>>> of one of the options in the final linking stage.
>>
>> I don't like CFLAGS being used during the linking stage. Add those
>> options to the linker flags instead.
>>
>
>
> Something like COMMON_LDFLAGS += $(findstr, -ffast-math, $CFLAGS)?
Ping?
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng
mailing list