This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Useless clobber?
- To: John Wehle <john at feith dot com>
- Subject: Re: Useless clobber?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 11 Apr 2000 13:14:14 -0600
- cc: Virgil dot Palanciuc at cs dot pub dot ro, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200004112009.QAA25425@jwlab.FEITH.COM>you write:
> > (define_insn ""
> > [(set (match_operand:SI 0 "register_operand" "=d")
> > (mult:SI
> > (zero_extend:SI
> > (match_operand:HI 1 "register_operand" "d"))
> > (zero_extend:SI
> > (match_operand 2 "register_operand" "d"))))
> > ( clobber (match_operand:SI 3 "register_operand" "d"))]
> > ""
> > "impyuu\\t%1,%2,%0")
>
> BTW, in the case I was refering to the clobber is in parallel with
> the set. The pattern you've presented is a bit odd since it doesn't
> use a parallel.
The parallel is implicit in a define_insn. It only needs to be explicit in
a define_expand.
jeff