Richard Earnshaw wrote:

>>> I've just modified this to build different variants as well.  ffmpeg
>>> now builds as supplied (-O2 and others), with -Os, with hand-written
>>> assembler turned off, and with -mfpu=neon.  corebench builds in -O2
>>> and -Os.
>> Here are some options we may have to use in our benchmarks,
>> {-Os,-O2} -fno-common -mthumb --mfloat-abi={hard,soft} -mfpu=neon
>>
>> IIRC, hardfp will increase the code size to some extent.
> 
> hard-float should show a significant code size saving over pure
> soft-float for anything with floating point code as the compiler will be
> able to use single instructions for many operations rather than library
> calls.
> 
Richard,
You are right.  I run EEMBC again with softfp and hardfp, and result
shows hardfp saves size from 2% to 35%.  Thanks for your clarification.


_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to