Useless clobber?

John Wehle john@feith.com
Tue Apr 11 13:14:00 GMT 2000


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

Sigh, I spoke too soon.  It isn't odd at all.  You presented a define_insn
which implies a parallel any time more then one element is present.  I
was looking at (and thinking) define_expand which requires the parallel to
be explicitly coded.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



More information about the Gcc mailing list