On Wed, 2015-04-22 at 20:55 -0500, Segher Boessenkool wrote: > Using a hard reg in the RTL like this has a few problems: > a) It might hinder register allocation. Maybe it doesn't, not sure; > b) It does hinder scheduling; > c) It can make things ICE, maybe with register asm.
Ahh, I see what you mean now. Yeah, I hadn't thought of that. > The alternative is to write a separate define_insn for ttest, one > without inputs; the generated assembler can still be the same of > course. In that case, I think you're right that this is the best course if action. I'll do that ans retest. Thanks for catching this. Peter