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: RFC: Turn on -fomit-frame-pointer and -fasynchronous-unwind-tables for Linux/i386


On 16/07/2010 20:24, Andi Kleen wrote:
> On Fri, Jul 16, 2010 at 05:21:16PM +0100, Dave Korn wrote:
>> On 16/07/2010 09:13, Andi Kleen wrote:
>>
>>> (reference through %rbp is one byte smaller than through another GPR)
>>> I believe MSVC does that and it's a useful optimization for x86.
>>   I can't tell if you meant x86_64 or %ebp but those two statements don't
>> quite go together as-is! :)
> 
> The optimization is valid for 32bit and 64bit.

  There's no such thing as %rbp in 32-bit x86 is all I meant.  Does the "one
byte smaller" also apply to %ebp indirection on x86?

    cheers,
      DaveK


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