From: Daniel Jacobowitz <dan@codesourcery.com>
To: Bernd Schmidt <bernds@codesourcery.com>
Cc: Richard Henderson <rth@redhat.com>,
Andrew Stubbs <ams@codesourcery.com>,
gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 1/3] SH-2A FDPIC: New pattern: use_initial_val
Date: Thu, 19 Aug 2010 19:42:00 -0000 [thread overview]
Message-ID: <20100819193342.GA26910@caradoc.them.org> (raw)
In-Reply-To: <4C6D7E18.9050009@codesourcery.com>
On Thu, Aug 19, 2010 at 08:55:20PM +0200, Bernd Schmidt wrote:
> For FD-PIC, the incoming PIC reg is loaded into a pseudo with the
> initial values machinery. The problem occurs if during expand we
> already had something that required the PIC register, so the pseudo was
> set up, but all the uses (and hence the initializing insn) were
> optimized away. So there really isn't anywhere to put it anymore in
> this case.
FWIW, I once tried to make the MIPS pic base into a pseudo, and
encountered this same problem - I eventually gave up, but maybe it can
be done the same way.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2010-08-19 19:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 16:12 Andrew Stubbs
2010-08-19 18:28 ` Richard Henderson
2010-08-19 18:54 ` Bernd Schmidt
2010-08-19 18:55 ` Richard Henderson
2010-08-19 19:34 ` Bernd Schmidt
2010-08-19 19:42 ` Daniel Jacobowitz [this message]
2010-08-19 19:55 ` Richard Henderson
2010-08-19 19:51 ` Richard Henderson
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=20100819193342.GA26910@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=ams@codesourcery.com \
--cc=bernds@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=rth@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).