Re: code hoisting with CCmode condition codes

2013-01-07 Thread Richard Henderson
On 01/06/2013 01:11 PM, Alan Lehotsky wrote: > Do I need to do something like change my define_expand for addsi3 to be > something like > > > [ (parallel [ (clobber:CCmode (reg:CCmode CCREG)) > (set:SI (match_operand:SI 0 "" "") >

code hoisting with CCmode condition codes

2013-01-06 Thread Alan Lehotsky
I'm obvkously doing something stupid here; but I'm at a loss to figure it out. Porting to a machine where most instructions set some condition codes and before hoisting, we have (insn 1205 1204 1206 65 (set (reg:CC_ZN 24 *cc) (compare:CC_ZN (reg:SI 843) (reg:SI 844))) ../..