public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com>
To: Richard Henderson <rth@cygnus.com>
Cc: egcs@cygnus.com, wilson@cygnus.com
Subject: Re: sparc64 changes and generic backend patches
Date: Fri, 22 May 1998 05:42:00 -0000	[thread overview]
Message-ID: <12337.895821393@hurl.cygnus.com> (raw)
In-Reply-To: <19980503145648.58820@dot.cygnus.com>

  In message < 19980503145648.58820@dot.cygnus.com >you write:
  > (1) Attachment 1 rewrites emit_group_load/store to handle all of the
  >     nifty structure size and alignment problems that do not affect the
  >     IRIX6 n64 ABI.  The canonical problem struct is
  > 
  > 	struct foo { char x[7]; };
  > 
  >     which might live at page_boundary-7.  The old code would produce
  >     either an unaligned trap or a segmentation fault trying to load
  >     these bits into the single outgoing 64-bit register.
I'd kind of prefer Jim Wilson and David Edelsohn review this and
test it a little.  Jim understands the irix issues and probably
understands the code.  David understands the structure passing
problems for AIX, I don't know if he understands the group load
code.

We've made several attempts to fix these structure passing problems
over the years, many of them we've found out later were incorrect.


  > (2) Attachment 2 disables a check in reload not applicable to Sparc's
  >     32-bit FP regs when considered with a 64-bit word size.
Ouch.  I thought Joern has some concerns about this patch, have you
addressed any of them?


  > (3) Attachment 3 contains a few unidentified fixes I found in my tree.
  >     Most of it consists of propogating a change made by Jeff
  > 
  >     Wed Dec 31 01:28:37 1997  Jeff Law  <law@cygnus.com>
  > 
  > 	* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
  > 	offset's mode is not ptr_mode, convert it.
I *vaguely* remember this change.  Wow. I can't remember if I was
trying to solve an Alpha/VMS or some weird mn10200 problem.

These changes look reasonable to me.


jeff

  parent reply	other threads:[~1998-05-22  5:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-03 14:56 Richard Henderson
1998-05-05 13:11 ` Joern Rennecke
1998-05-22  5:42 ` Jeffrey A Law [this message]
1998-05-22 20:21   ` Richard Henderson
1998-05-26 18:02     ` Joern Rennecke
1998-05-26 19:37       ` Richard Henderson
1998-05-22 20:22   ` Richard Henderson
1998-05-23 12:32     ` David Edelsohn
1998-05-24 12:13       ` Richard Henderson
1998-05-24 16:20         ` David Edelsohn

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=12337.895821393@hurl.cygnus.com \
    --to=law@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=rth@cygnus.com \
    --cc=wilson@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).