public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* m68k, extendqidi2 problem
@ 2004-03-05 23:25 Richard Zidlicky
  2004-03-06 19:27 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Zidlicky @ 2004-03-05 23:25 UTC (permalink / raw)
  To: gcc mailing list

Hi,

I get illegal code like

        move.b %a0,%d1
        extb.l %d1
        smi %d0
        extb.l %d0

Afaics the reason is that the extendqidi2 constraints for %1
in m68k.md:1453 allows "r" instead of "d".

It seems we can keep the constraint as is and make a move.w when
%1 is ADDRESS_REG_P, other suggestions?

Richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: m68k, extendqidi2 problem
  2004-03-05 23:25 m68k, extendqidi2 problem Richard Zidlicky
@ 2004-03-06 19:27 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2004-03-06 19:27 UTC (permalink / raw)
  To: Richard Zidlicky; +Cc: gcc mailing list

On Sat, Mar 06, 2004 at 12:21:26AM +0100, Richard Zidlicky wrote:
> It seems we can keep the constraint as is and make a move.w when
> %1 is ADDRESS_REG_P...

That seems ok.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-06 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 23:25 m68k, extendqidi2 problem Richard Zidlicky
2004-03-06 19:27 ` Richard Henderson

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).