public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: coxs@dg-rtp.dg.com <coxs@dg-rtp.dg.com>
To: egcs@cygnus.com
Subject: Re: double alignment patch for x86
Date: Mon, 18 Aug 1997 20:46:06 -0000	[thread overview]
Message-ID: <199708182044.UAA01478@equinox> (raw)
In-Reply-To: 5798.871854450@hurl.cygnus.com

I see how the changes will preserve alignment, but what if
the initial alignment is not double aligned?

My preference would be verb-object options, e.g. -malign-stack-double,
-malign-args-double.  The Intel compiler defaults to aligning the
stack double if the function uses doubles since this doesn't break the ABI.

What about using #define constants instead of 0 and 1 in the
ix86_sp_offset call?

Is there need for the % calculation in ix86_sp_offset, can't you just
check for offset = 4, 8, or 12 and simplify this routine since the x86
preserves at most 3 registers (edi, esi, ebx)?

             reply	other threads:[~1997-08-18 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-18 20:46 coxs [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-08-19  3:24 meissner
1997-08-19  3:52 ` Jeffrey A Law
1997-08-19  2:36 2 (small?) problems Ian Lance Taylor
1997-08-19  3:24 ` double alignment patch for x86 Jeffrey A Law
1997-08-18 20:47 meissner
1997-08-18 14:53 Monday morning Philippe Laliberte
1997-08-18 15:11 ` double alignment patch for x86 Dave Love
1997-08-17 21:48 Jeffrey A Law
1997-08-17 19:41 John Carr
1997-08-17 19:41 Marc Lehmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199708182044.UAA01478@equinox \
    --to=coxs@dg-rtp.dg.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).