public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Peter Barada <pbarada@mail.wm.sps.mot.com>
Cc: wilson@redhat.com, Peter.Barada@motorola.com, gcc@gcc.gnu.org
Subject: Re: Troubles building gcc-3.2.1 --target=m68k-linux
Date: Tue, 10 Dec 2002 12:17:00 -0000	[thread overview]
Message-ID: <jeel8phc6m.fsf@sykes.suse.de> (raw)
In-Reply-To: <200212101817.gBAIHtx07901@hyper.wm.sps.mot.com> (Peter Barada's message of "Tue, 10 Dec 2002 13:17:55 -0500")

Peter Barada <pbarada@mail.wm.sps.mot.com> writes:

|> >You need to have REG_OK_STRICT and !REG_OK_STRICT versions of the macro
|> >GO_IF_LEGITIMATE_ADDRESS.  See for instance the definition in the mips port.
|> >
|> >When strict is false, you can accept pseudo-regs where a reg is OK.
|> >When strict is true, you can't accept pseudo-regs where a reg is OK, because
|> >a pseudo-reg is actually a MEM refering to a stack-slot.
|> 
|> I was wondering about that, since I see that in the i386 version.
|> Eventually I'll include that in the new GO_IF_LEGITIMATE_ADDRESS for m68k.
|> 
|> What I'm *more* concerned (at the moment) is why as a macro
|> GO_IF_LEGITIMATE_ADDRESS works, but as a function it fails....

Because you only have one version, but all those macros ultimatively
depend on REG_OK_FOR_INDEX_P and REG_OK_FOR_BASE_P, and those differ
between REG_OK_STRICT and !REG_OK_STRICT.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2002-12-10 20:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10  9:43 Peter Barada
2002-12-10 10:18 ` Jim Wilson
2002-12-10 10:52   ` Peter Barada
2002-12-10 12:17     ` Andreas Schwab [this message]
2002-12-10 12:33       ` Peter Barada
2002-12-10 11:13   ` Peter Barada

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=jeel8phc6m.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=Peter.Barada@motorola.com \
    --cc=gcc@gcc.gnu.org \
    --cc=pbarada@mail.wm.sps.mot.com \
    --cc=wilson@redhat.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).