Useless clobber?
Virgil Palanciuc
Virgil.Palanciuc@cs.pub.ro
Tue Apr 11 06:16:00 GMT 2000
I found the following pattern in a .md file:
----------------------------------------------------------------------------
(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")
----------------------------------------------------------------------------
I cannot comunicate with the guys that wrote the machine description(I
don't know how to contact them), but placing the clobber in this pattern
seems stupid to me.
On the other hand, I thought there might be a reason for this cloober to
be placed there, but I cannot think of any possible reason. Could anybody
who knows more about machine descriptions give me such a reason (or tell me
that it is safe to remove it) ?
Thanx.
Virgil
More information about the Gcc
mailing list