This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTL generation
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Hsin-Hsien Wu <sinsen dot wu at msa dot hinet dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 06 Aug 2004 22:24:42 -0700
- Subject: Re: RTL generation
- References: <200408071155.33493.sinsen.wu@msa.hinet.net>
Hsin-Hsien Wu <sinsen.wu@msa.hinet.net> writes:
> Hello,
> I am porting GCC to a new cpu. It is modified from the GCC arm port.
> Currently, I am dealing with the addressing modes.
> I have noticed that when I use "-O2" GCC generates an addressing mode that I
> don't want.
> And this addressing mode appears in foobar.c.00.rtl.
You probably need to change GO_IF_LEGITIMATE_ADDRESS.
zw