[hjl.tools@gmail.com: [stack] PATCH: Align DImode to 4 byte for i386]

H.J. Lu hjl.tools@gmail.com
Wed Feb 6 15:46:00 GMT 2008


----- Forwarded message from "H.J. Lu" <hjl.tools@gmail.com> -----

X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on lake.in.lucon.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 required=3.2 tests=AWL,BAYES_00,NO_RELAYS
	autolearn=ham version=3.2.3
X-Original-To: hjl@localhost
Delivered-To: hjl@localhost.lucon.org
Date: Wed, 6 Feb 2008 07:39:04 -0800
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Jan Hubicka <hubicka@ucw.cz>
Subject: [stack] PATCH: Align DImode to 4 byte for i386
Delivered-To: hjl.tools@gmail.com

I checked it into stack branch.


H.J.
On Feb 4, 2008 6:22 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> > Here is a patch. OK for 4.4 when it is opened?
>
> Seems OK.  I hope there is no ABI breakage we missed.
>
> Honza
>
> >
> > Thanks.
> >
> > H.J.
> > --
> > 2008-02-03  H.J. Lu  <hongjiu.lu@intel.com>
> >
> >       * config/i386/i386-modes.def: Use 4 byte alignment on DI in
> >       32bit bit.
> >
> > Index: config/i386/i386-modes.def
> > ===================================================================
> > --- config/i386/i386-modes.def        (revision 1470)
> > +++ config/i386/i386-modes.def        (working copy)
> > @@ -17,6 +17,10 @@ You should have received a copy of the G
> >  along with GCC; see the file COPYING3.  If not see
> >  <http://www.gnu.org/licenses/>.  */
> >
> > +/* In 32bit, DI mode uses 32bit registers.  Only 4 byte alignment
> > +   is needed.  */
> > +ADJUST_ALIGNMENT (DI, TARGET_64BIT ? 8 : 4);
> > +
> >  /* The x86_64 ABI specifies both XF and TF modes.
> >     XFmode is __float80 is IEEE extended; TFmode is __float128
> >     is IEEE quad.  */
>

----- End forwarded message -----



More information about the Gcc-patches mailing list