Re: i386: load-operate-store-test

2011-04-01 Thread Serge Belyshev
Andrew Pinski writes: > On Fri, Apr 1, 2011 at 8:57 PM, Alex wrote: >>  If I understood correct, gcc could replace insns 5, 7, 8 and 9 by the insn >> defined as "*and_2", but it seems "combine" did not tried that. > > Yes you missed that combine in GCC only acts on 3 insns at a time. > Though th

Re: i386: load-operate-store-test

2011-04-01 Thread Andrew Pinski
On Fri, Apr 1, 2011 at 8:57 PM, Alex wrote: >  If I understood correct, gcc could replace insns 5, 7, 8 and 9 by the insn > defined as "*and_2", but it seems "combine" did not tried that. Yes you missed that combine in GCC only acts on 3 insns at a time. Though that has changed in GCC 4.6 and abo