how to force reloader(?) to respect clobber directive?
Jan Hubicka
jh@suse.cz
Tue Feb 26 11:47:00 GMT 2002
> > On Tue, Feb 26, 2002 at 12:13:43PM +0300, Dmitry wrote:
> > > (define_insn "tstsi"
> > > [(set (cc0) (match_operand:SI 0 "register_operand" "r"))
> > > (clobber (match_dup 0))]
> >
> > The constraint must be "+r" in this case.
My guess is that when expanding the insn you overwrite the input operand,
you should not.
In such situations you should probably use match_scratch construct to
get the output operand.
Honza
> >
> >
> > r~
> >
More information about the Gcc
mailing list