Re: [help]failed to generate PHI NODE in esra pass.

2012-11-05 Thread Handong Ye
On Mon, Nov 5, 2012 at 5:32 AM, Martin Jambor wrote: > Hi, > > On Sun, Nov 04, 2012 at 09:32:48PM -0800, Handong Ye wrote: >> On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor wrote: >> > On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: >> >> Hi, all

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Handong Ye
On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor wrote: > Hi, > > On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: >> Hi, all >> >> I do the research of min max instructions recently. I find it is related >> with phiopt. >> >> case1: >> int foo(short a ,short b) >> { >> if (a < b) >>

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