This is the mail archive of the
mailing list for the GCC project.
- From: Hsin-Hsien Wu <sinsen dot wu at msa dot hinet dot net>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 7 Aug 2004 11:55:33 +0800
- Subject: RTL generation
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
And this addressing mode appears in foobar.c.00.rtl.
If I don't specified the "-O2" option, the kind of addressing mode is not
Here is the RTL when using "-O2" option.
(insn:HI 365 363 378 0x285c939c (set (mem:QI (plus:SI (mult:SI (reg/v:SI 12 )
(const_int 2 [0x2]))
(reg/v/f:SI 4 )) [0 S1 A8])
(reg:QI 2 ))
Since it appears in foobar.c.00.rtl , how do I elimiate such addressing mode ?