Re: peephole optimizations

2010-05-04 Thread Jeff Law
On 05/04/10 01:18, roy rosen wrote: Hi, 2010/5/3, Ian Lance Taylor: roy rosen writes: 1. Is that true that if I try to match in the pattern two insns and in my code between these insns there is another insn which does not have any dependency connection to the other two, Is that tru

Re: peephole optimizations

2010-05-04 Thread Ian Lance Taylor
roy rosen writes: > 2010/5/3, Ian Lance Taylor : >> roy rosen writes: >> >> > 1. Is that true that if I try to match in the pattern two insns and in >> > my code between these insns there is another insn which does not have >> > any dependency connection to the other two, Is that true that the >

Re: peephole optimizations

2010-05-04 Thread roy rosen
Hi, 2010/5/3, Ian Lance Taylor : > roy rosen writes: > > > 1. Is that true that if I try to match in the pattern two insns and in > > my code between these insns there is another insn which does not have > > any dependency connection to the other two, Is that true that the > > peephole would not

Re: peephole optimizations

2010-05-03 Thread Ian Lance Taylor
roy rosen writes: > 1. Is that true that if I try to match in the pattern two insns and in > my code between these insns there is another insn which does not have > any dependency connection to the other two, Is that true that the > peephole would not match in this case? (i.e. the insns to match

peephole optimizations

2010-05-03 Thread roy rosen
Hi All, I have tried to write some peephole patterns and I now have some questions regarding the way it is working. 1. Is that true that if I try to match in the pattern two insns and in my code between these insns there is another insn which does not have any dependency connection to the other t