On 09/27/2010 01:30 PM, DJ Delorie wrote:
> (insn 115 114 117 15 dj.c:256 (parallel [
> (set (reg:SI 12 r12 [139])
> (plus:SI (reg:SI 3 r3 [orig:54 pretmp.923 ] [54])
> (reg:SI 12 r12 [138])))
> (set (reg:CC_ZSC 16 cc)
> (compare:CC_ZSC (plus:SI (reg:SI 3 r3 [orig:54 pretmp.923 ]
> [54])
> (reg:SI 12 r12 [138]))
> (const_int 0)))
> ]) 72 {addsi3} (expr_list:REG_UNUSED (reg:CC_ZSC 16 cc)
> (nil)))
I think it's probably a mistake to have the default ADD
instruction SET the flags, rather than CLOBBER them.
That said, I suppose it wouldn't hurt to modify sched-deps
to treat a SET+REG_UNUSED as a CLOBBER.
r~