This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using SCRATCH Register for a mov op,
- From: Richard Henderson <rth at redhat dot com>
- To: Pierre Mallard <pierremallard at yahoo dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 4 Nov 2002 04:10:31 -0800
- Subject: Re: Using SCRATCH Register for a mov op,
- References: <20021101010649.GI5029@redhat.com> <20021104100312.21420.qmail@web20310.mail.yahoo.com>
On Mon, Nov 04, 2002 at 11:03:12AM +0100, Pierre Mallard wrote:
> (define_insn "*movhi"
> [(set (match_operand:HI 0 "nonimmediate_operand"
> "=r,r,m,r,r")
> (match_operand:HI 1 "general_operand"
> "r,m,r,I,i"))
> (clobber (match_scratch:QI 2 "=X,&r,X,X,X"))]
Looks ok; no idea what's going wrong off the top of my head.
r~