This is the mail archive of the
mailing list for the GCC project.
Re: discouraging register use
- From: DJ Delorie <dj at redhat dot com>
- To: rearnsha at gcc dot gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 4 Jan 2005 14:55:05 -0500
- Subject: Re: discouraging register use
- References: <200412302354.iBUNsiBH002125@greed.delorie.com> <firstname.lastname@example.org>
> > [(set (match_operand:SI 0 "" "c,c,?m,?m")
> > (plus:SI (match_operand:SI 1 "" "0,0,0,0")
> > (match_operand:SI 1 "" "c,?m,c,?m")))]
> Have you tried using '*' to hide 'm' from register preferencing?
Yes. That makes it worse, because gcc doesn't use the "m" registers
at all (it seems) in some cases, and ignores the preference in other
cases (reload). I don't recall the specifics, but it didn't work.