* [PING^3] Make ARM use UNSPECs instead of complicated CONSTs
@ 2008-10-29 8:05 Richard Sandiford
2008-11-04 21:41 ` Michael Meissner
0 siblings, 1 reply; 3+ messages in thread
From: Richard Sandiford @ 2008-10-29 8:05 UTC (permalink / raw)
To: gcc-patches; +Cc: nickc, paul
http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00456.html
Fixes what I think is the last example of (const minus) being used
by a port. Please review, since the fix for PR37363 depends on it.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PING^3] Make ARM use UNSPECs instead of complicated CONSTs
2008-10-29 8:05 [PING^3] Make ARM use UNSPECs instead of complicated CONSTs Richard Sandiford
@ 2008-11-04 21:41 ` Michael Meissner
2008-11-08 18:21 ` Richard Sandiford
0 siblings, 1 reply; 3+ messages in thread
From: Michael Meissner @ 2008-11-04 21:41 UTC (permalink / raw)
To: gcc-patches, nickc, paul, rdsandiford
On Tue, Oct 28, 2008 at 10:30:08PM +0000, Richard Sandiford wrote:
> http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00456.html
> Fixes what I think is the last example of (const minus) being used
> by a port. Please review, since the fix for PR37363 depends on it.
>
> Richard
I took a look at this, and I wonder why you don't see an insn not found message
for the change in arm.c to build the pic_rtx register with UNSPEC_GOTSYM_OFF,
since I don't see any insns that use UNSPEC_GOTSYM_OFF.
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PING^3] Make ARM use UNSPECs instead of complicated CONSTs
2008-11-04 21:41 ` Michael Meissner
@ 2008-11-08 18:21 ` Richard Sandiford
0 siblings, 0 replies; 3+ messages in thread
From: Richard Sandiford @ 2008-11-08 18:21 UTC (permalink / raw)
To: Michael Meissner; +Cc: gcc-patches, nickc, paul
Hi Mike,
Thanks for taking a look.
Michael Meissner <meissner@linux.vnet.ibm.com> writes:
> On Tue, Oct 28, 2008 at 10:30:08PM +0000, Richard Sandiford wrote:
>> http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00456.html
>> Fixes what I think is the last example of (const minus) being used
>> by a port. Please review, since the fix for PR37363 depends on it.
>>
>> Richard
>
> I took a look at this, and I wonder why you don't see an insn not
> found message for the change in arm.c to build the pic_rtx register
> with UNSPEC_GOTSYM_OFF, since I don't see any insns that use
> UNSPEC_GOTSYM_OFF.
The idea is that the UNSPEC_GOTSYM_OFF is wrapped in a CONST, just like
the original MINUS expression was. Both the old and new forms satisfy
immediate_operand, so the SET matches the normal move insns.
As it happens, Paul recently approved the patch in the original thread
(thanks) so I've since applied it. But like I say, thanks for looking
at the patch, and for raising your concerns.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-08 9:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-29 8:05 [PING^3] Make ARM use UNSPECs instead of complicated CONSTs Richard Sandiford
2008-11-04 21:41 ` Michael Meissner
2008-11-08 18:21 ` Richard Sandiford
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).