Re: question about the constraint modifier '+'

2012-04-04 Thread Ian Lance Taylor
Handong Ye writes: > Hi, I'm new in gcc, and maybe misunderstand the constraint modifier '+'. > As the internal document says, '+' means an inout parameter. In my > mind, it means the instruction both reads and writes the pseudo > register. > > Assuming I have a pattern like: > > (define_insn "ls

question about the constraint modifier '+'

2012-04-04 Thread Handong Ye
Hi, I'm new in gcc, and maybe misunderstand the constraint modifier '+'. As the internal document says, '+' means an inout parameter. In my mind, it means the instruction both reads and writes the pseudo register. Assuming I have a pattern like: (define_insn "lssu" [(set (match_operand:m1 0 ..