From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3782 invoked by alias); 14 Jul 2010 19:29:22 -0000 Received: (qmail 3773 invoked by uid 22791); 14 Jul 2010 19:29:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-gx0-f175.google.com (HELO mail-gx0-f175.google.com) (209.85.161.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Jul 2010 19:29:17 +0000 Received: by gxk2 with SMTP id 2so90738gxk.20 for ; Wed, 14 Jul 2010 12:29:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.114.8 with SMTP id m8mr8668453ybc.293.1279135754688; Wed, 14 Jul 2010 12:29:14 -0700 (PDT) Received: by 10.229.81.16 with HTTP; Wed, 14 Jul 2010 12:29:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Jul 2010 19:29:00 -0000 Message-ID: Subject: Re: [RFA patch i386]: Prepare x64 prologue using positive offsets for frame-pointer From: NightStrike To: Kai Tietz Cc: GCC Patches , Richard Henderson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01187.txt.bz2 On Mon, Jul 5, 2010 at 2:17 AM, Kai Tietz wrote: > 2010/7/4 Kai Tietz : >> Hello, >> >> this patch prepares for x64 SEH, that frame-pointer points at end of >> stack-prologue. This is required for x64, because the SEH unwind >> information can't express negative offsets for stack. >> >> ChangeLog >> >> 2010-07-04 =A0Kai Tietz >> >> =A0 =A0 =A0 =A0* config/i386/i386.c (ix86_compute_frame_layout): Let fra= me's >> =A0 =A0 =A0 =A0hard_frame_pointer_offset point to end of prologue. >> =A0 =A0 =A0 =A0(ix86_expand_prologue): Handle x64 frame-pointer prologue. >> =A0 =A0 =A0 =A0(ix86_expand_epilogue): Handle x64 frame-pointer epilogue. >> >> Tested for i686-pc-cygwin, x86_64-pc-mingw32. Ok for apply? >> >> Regards, >> Kai > > This update patch avoids, that for profiling-built the x64 > frame-layout gets used. It would lead to issues, caused by profiling > code, which assumes old stack-frame layout. > > Regards, > Kai > > > -- > | =A0(\_/) This is Bunny. Copy and paste > | (=3D'.'=3D) Bunny into your signature to help > | (")_(") him gain world domination > Ping