This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: discouraging register use


> >   [(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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]