This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Question about doloop_end pattern
- From: "Bingfeng Mei" <bmei at broadcom dot com>
- To: "Joern Rennecke" <joernr at arc dot com>, gcc at gcc dot gnu dot org
- Cc: "Ian Lance Taylor" <iant at google dot com>
- Date: Wed, 16 Jul 2008 08:17:15 -0700
- Subject: RE: Question about doloop_end pattern
- References: <20080716150448.GF15673@elsdt-razorfish.arc.com>
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:joernr@arc.com]
> Sent: 16 July 2008 16:05
> To: gcc@gcc.gnu.org
> 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
>
>