Re: req. help on merging instructions

2005-06-14 Thread Uros Bizjak
Hello! > Iam trying to merge the following two instructions > 1. addu r2, r3,r4 > 2. ld r5 ,mem(r2) # load from address calculated > in the prev. instruction > in to one single isntruction. > 3. ldx r5 , mem(r3(r4)) # indexed load. > I managed to do it with a define_peephole pattern >

req. help on merging instructions

2005-06-14 Thread mohit . sharma
Hello everbody, Iam new to gcc and need some guidance. Iam trying to merge the following two instructions 1. addu r2, r3,r4 2. ld r5 ,mem(r2) # load from address calculated in the prev. instruction in to one single isntruction. 3. ldx r5 , mem(r3(r4)) # indexed load. I managed to do