Re: peephole patterns are not matching

2007-04-12 Thread Jim Wilson
Mohamed Shafi wrote: even i wrote define_peephole2 which is similar to the above. But the above patterns are not matched at all. But i can find these patterns in the rtl dumps. Run cc1 under gdb. Put a breakpoint in the peephole function. Step through the code to see what is wrong. -- Jim W

Re: peephole patterns are not matching

2007-04-12 Thread Mohamed Shafi
On 4/12/07, Andreas Schwab <[EMAIL PROTECTED]> wrote: "Mohamed Shafi" <[EMAIL PROTECTED]> writes: > hello everyone, > > I have the following 2 patterns which are consecutive. (from shorten > rtl dump file) > > (insn 69 34 70 (set (reg:SQ 0 d0) >(reg:SQ 18 f2)) 79 {movsq} (nil) >(nil)

Re: peephole patterns are not matching

2007-04-12 Thread Andreas Schwab
"Mohamed Shafi" <[EMAIL PROTECTED]> writes: > hello everyone, > > I have the following 2 patterns which are consecutive. (from shorten > rtl dump file) > > (insn 69 34 70 (set (reg:SQ 0 d0) >(reg:SQ 18 f2)) 79 {movsq} (nil) >(nil)) > > (insn 70 69 35 (set (reg:SQ 16 f0 [orig:38 D.3693

peephole patterns are not matching

2007-04-12 Thread Mohamed Shafi
hello everyone, I have the following 2 patterns which are consecutive. (from shorten rtl dump file) (insn 69 34 70 (set (reg:SQ 0 d0) (reg:SQ 18 f2)) 79 {movsq} (nil) (nil)) (insn 70 69 35 (set (reg:SQ 16 f0 [orig:38 D.3693 ] [38]) (reg:SQ 0 d0)) 79 {movsq} (nil) (nil)) Fo