This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch i386]: Avoid for leaf functions stack_alignment_needed


2010/6/16 Kai Tietz <ktietz70@googlemail.com>:
> PING
>
> 2010/6/12 Kai Tietz <ktietz70@googlemail.com>:
>> 2010/6/11 H.J. Lu <hjl.tools@gmail.com>:
>>> On Fri, Jun 11, 2010 at 10:47 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
>>>> Hi,
>>>>
>>>> this patch addresses the emit of stack-alignment for leaf functions
>>>> without register-saves, additional local stack, and no
>>>> tls-descriptor-call.
>>>>
>>>> ChangeLog
>>>>
>>>> 2010-06-11 ?Kai Tietz
>>>>
>>>> ? ? ? ?* config/i386/i386.c (ix86_compute_frame_layout): Avoid stack-alignment
>>>> ? ? ? ?for simple leaf-functions.
>>>>
>>>> Tested for x86_64-pc-mingw32, and i686-pc-cygwin.
>>>> Ok for apply?
>>>>
>>>
>>> Is there a testcase?
>>>
>>> --
>>> H.J.
>>>
>>
>> I added to leaf function tests for this patch
>>
>> Additional ChangeLog for testsuite
>>
>> ? ? ? ?* gcc.target/x86_64/abi/callabi/leaf-1.c: New test.
>> ? ? ? ?* gcc.target/x86_64/abi/callabi/leaf-2.c: New test.
>>
>> Tested for x86_64-pc-linux-gnu, and for x86_64-pc-mingw32. Ok for apply?
>>
>> Regards,
>> Kai
>>
>> --
>> | ?(\_/) This is Bunny. Copy and paste
>> | (='.'=) Bunny into your signature to help
>> | (")_(") him gain world domination
>>
>
>
>
> --
> | ?(\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>

Committed adjusted patch at revision 161064 (and testsuite part at
161063). Patch approved by Jan on IRC.

Thanks,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]