Android gcc 4.6 1107 optimization benchmark
bernhard.rosenkranzer at linaro.org
Fri Aug 19 14:38:54 UTC 2011
On 18 August 2011 19:40, Chao Yang <chao.yang at linaro.org> wrote:
> The results can be found
> at https://wiki.linaro.org/ChaoYang/Sandbox/gccoptimization.
Interesting... I'd have expected getting rid of -fno-strict-aliasing
gives the biggest performance boost, but I'd have expected O3 to be a
bit more effective than it is...
Are you sure the relevant parts actually use O3 (keep in mind that
e.g. -O3 + -Os = -Os -- whatever is specified later (LOCAL_CFLAGS,
...) is effective)?
Could you add another combination to the benchmark? I'm curious about
-O3 -fno-inline-functions (function inlining is always a bit of a
2-edged sword because of the code size increases...)
More information about the linaro-dev