Re: Android gcc 4.6 1107 optimization benchmark

2011-08-22 Thread Michael Hope
On Mon, Aug 22, 2011 at 11:31 PM, Chao Yang wrote: > HI Michael, > The build log can be found at > http://people.linaro.org/~chaoyang/shared_sources/build_2011-08-19_20-33.log > The benchmark wiki > page https://wiki.linaro.org/ChaoYang/Sandbox/gccoptimization is updated on > 1. Adding benchmark f

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-22 Thread Chao Yang
HI Michael, The build log can be found at http://people.linaro.org/~chaoyang/shared_sources/build_2011-08-19_20-33.log The benchmark wiki page https://wiki.linaro.org/ChaoYang/Sandbox/gccoptimization is updated on 1. Adding benchmark for -fno-inline-function option (the size is reduced a bit) 2.

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-21 Thread Michael Hope
On Sat, Aug 20, 2011 at 2:50 AM, Chao Yang wrote: > HI Bero, > What I did was changing both Os and O2 to O3 in TARGET_linux-arm.mk. I did > not change those O2/Os specified in each module internally. As there may be > a reason for the module itself to specify the optimisation level. I think it > i

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-19 Thread Chao Yang
HI Bero, What I did was changing both Os and O2 to O3 in TARGET_linux-arm.mk. I did not change those O2/Os specified in each module internally. As there may be a reason for the module itself to specify the optimisation level. I think it is risky to change those. But I don't think it should be a bi

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-19 Thread Bernhard Rosenkranzer
Hi, On 18 August 2011 19:40, Chao Yang 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 th

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-19 Thread Ramana Radhakrishnan
On 19 August 2011 13:40, Christian Robottom Reis wrote: > On Fri, Aug 19, 2011 at 03:40:26AM +0100, Chao Yang wrote: >> The image size increases significantly when -O3 is enabled for thumb files, > > Size goes /up/ when enabling thumb? That's definitely unexpected. The size increas is probably mo

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-19 Thread Christian Robottom Reis
On Fri, Aug 19, 2011 at 03:40:26AM +0100, Chao Yang wrote: > The image size increases significantly when -O3 is enabled for thumb files, Size goes /up/ when enabling thumb? That's definitely unexpected. -- Christian Robottom Reis, Engineering VP Brazil (GMT-3) | [+55] 16 9112 6430 | [+1] 612 216

Re: Android gcc 4.6 1107 optimization benchmark

2011-08-18 Thread Michael Hope
On Fri, Aug 19, 2011 at 2:40 PM, Chao Yang wrote: > HI Zach, > The BP > (https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-use-gcc4.6-with-o3) > and Bug #822113 aim at improving android performance. I think we also need > to balance the size and the performance improvement. I us

Android gcc 4.6 1107 optimization benchmark

2011-08-18 Thread Chao Yang
HI Zach, The BP ( https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-use-gcc4.6-with-o3) and Bug #822113aim at improving android performance. I think we also need to balance the size and the performance improvement. I used