From: Jeff Law <law@redhat.com>
To: daniel tian <daniel.xntian@gmail.com>
Cc: Dave Korn <dave.korn.cygwin@googlemail.com>,
gcc@gcc.gnu.org, peng.zheng@mavrixtech.com,
thomas.liau@mavrixtech.com
Subject: Re: How to deal with unrecognizable RTL code
Date: Thu, 25 Jun 2009 19:18:00 -0000 [thread overview]
Message-ID: <4A43C578.8030309@redhat.com> (raw)
In-Reply-To: <121fadb80906240316y68a8c132yd254db302e246b37@mail.gmail.com>
daniel tian wrote:
>
> it will be called in GO_IF_LEGITIMATE_ADDRESS, and
> LEGITIMIZE_RELOAD_ADDRESS. So like the following unrecognizable RTL
> has gone.
>
I would _strongly_ recommend you initially develop your port without
defining LEGITIMIZE_RELOAD_ADDRESS. Let reload work in the way it was
intended, particularly since I haven't seen anything to-date which would
indicate your chip has characteristics which reload can't handle.
Once your port is working well, you can go back and define
LEGITIMIZE_RELOAD_ADDRESS to optimize handling of reloads -- and because
your port was working prior to defining LEGITIMIZE_RELOAD_ADDRESS any
new failures are most likely due to an improper definition of
LEGITIMIZE_RELOAD_ADDRESS (which is easy to do given you have to know
how reload works to properly implement LEGITIMIZE_RELOAD_ADDRESS).
[ ... ]
>
> The RTL is at the beginning of the function, and R5 is used to pass
> parameter. So I think maybe should also trace the parameter passing
> function.
>
Again, the best thing you can do is find the first dump file where these
problematical insns exist. That would be a huge step forward.
jeff
next prev parent reply other threads:[~2009-06-25 18:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 12:42 daniel tian
2009-06-25 19:18 ` Jeff Law [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-01 3:02 daniel.tian
2009-07-01 6:14 ` Jeff Law
2009-07-02 3:06 ` daniel.tian
[not found] <5885251a0906190727p301b9122k7dcd235dcdd082a4@mail.gmail.com>
2009-06-22 1:56 ` daniel.tian
2009-06-22 11:21 ` Dave Korn
2009-06-19 8:08 田晓南
2009-06-19 11:56 ` Paolo Bonzini
2009-06-24 9:35 ` daniel.tian
2009-06-24 9:36 ` Dave Korn
2009-06-24 9:37 ` Paolo Bonzini
2009-06-24 10:16 ` Dave Korn
2009-06-25 18:43 ` Jeff Law
2009-06-29 10:52 ` daniel.tian
2009-06-29 21:11 ` How " Ian Lance Taylor
2009-06-30 6:20 ` Jim Wilson
2009-06-30 14:22 ` daniel.tian
2009-07-01 2:05 ` Jeff Law
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=4A43C578.8030309@redhat.com \
--to=law@redhat.com \
--cc=daniel.xntian@gmail.com \
--cc=dave.korn.cygwin@googlemail.com \
--cc=gcc@gcc.gnu.org \
--cc=peng.zheng@mavrixtech.com \
--cc=thomas.liau@mavrixtech.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).