[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F72EA68.9090605@gmail.com>
Date: Wed, 28 Mar 2012 13:39:36 +0300
From: roma1390 <roma1390@...il.com>
To: Denys Vlasenko <vda.linux@...glemail.com>
CC: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Douglas W Jones <jones@...uiowa.edu>,
Michal Nazarewicz <mnazarewicz@...gle.com>
Subject: Re: [PATCH 0/1] vsprintf: optimize decimal conversion (again)
On 2012.03.28 13:33, Denys Vlasenko wrote:
> On Wednesday 28 March 2012 12:24, roma1390 wrote:
>> On 2012.03.28 13:13, Denys Vlasenko wrote:
>>> Second: run
>>> arm-linux-gnueabi-gcc -O2 -Wall test_{org,new}.c -S
>>> and email me resulting test_{org,new}.s files.
>>
>> test_{org,new}.s attached.
>
>
> Bingo.
>
> bl __aeabi_uidivmod
>
> Not good. Your gcc did not optimize division by constant.
>
> Can you add "noinline_for_stack":
>
> static noinline_for_stack<=== HERE
> char *put_dec(char *buf, unsigned long long n)
>
> amd regenerate and resend the test_new.s?
>
Hello,
Your requested asm are attached.
roma1390
View attachment "test_new-org-with-noinline_for_stack.diff" of type "text/plain" (560 bytes)
View attachment "test_new-org-with-noinline_for_stack.s" of type "text/plain" (14374 bytes)
View attachment "test_new-org-with-noinline_for_stack_if-LONG_MAX_header_arm.diff" of type "text/plain" (1332 bytes)
View attachment "test_new-org-with-noinline_for_stack_if-LONG_MAX_header_arm.s" of type "text/plain" (14681 bytes)
Powered by blists - more mailing lists