Re: Function alignment and benchmark results

2012-08-23 Thread Matthew Gretton-Dann
Michael, On 23 August 2012 03:09, Michael Hope wrote: > Zhenqiang's been working on the later split 2 patch which causes more > constants to be built using a movw/movt instead of a constant pool > load. There was an unexpected ~10 % regression in one benchmark which > seems to be due to function

Re: Function alignment and benchmark results

2012-08-22 Thread Zhenqiang Chen
A small case is attached to reproduce it. Here are logs for different loop header alignment (default is 64): linaro@Linaro-test:~$ gcc test1.c -o t.exe && time ./t.exe real0m3.206s user0m3.203s sys 0m0.000s linaro@Linaro-test:~$ gcc test1.c -DALIGNED_2 -o t.exe && time ./t.exe real

Function alignment and benchmark results

2012-08-22 Thread Michael Hope
Zhenqiang's been working on the later split 2 patch which causes more constants to be built using a movw/movt instead of a constant pool load. There was an unexpected ~10 % regression in one benchmark which seems to be due to function alignment. I think we've tracked down the reason but not the a