Thanks. I just checked the latest mainline version and couldn't find doloop related stuff in config/arc/arc.md. Will you merge your code into mainline? Did you also get modulo scheduling work properly?
Bingfeng > -----Original Message----- > From: Joern Rennecke [mailto:[EMAIL PROTECTED] > Sent: 16 July 2008 16:05 > To: [email protected] > Cc: Ian Lance Taylor; Bingfeng Mei > Subject: Re: Question about doloop_end pattern > > I can confirm that the doloop optimization is applied for > ARC600 / ARC700 > in a compiler based on gcc 4.4.0 20080606 (experimental) . > OTOH, it doesn't use any of the PRE_INC, POST_INC, PRE_MODIFY or > POST_MODIFY addressing modes. > > lp .L__GCC__LP2 > .align 4 > .L2: > add r0,r1,r4 > ld r3,[r0] > add r0,r6,r4 > add r4,r4,4 > add r2,r5,r3 > st r2,[r0] > > .L__GCC__LP2: ; loop end > >
