This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
some strange instructions appear after optimization
- From: "Huimin Cui" <cuihm at soft dot cs dot tsinghua dot edu dot cn>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 13 Mar 2003 09:31:55 +0800
- Subject: some strange instructions appear after optimization
- Reply-to: <cuihm at soft dot cs dot tsinghua dot edu dot cn>
Hi,
I have made a cross compiler for mipsel-linux, it runs well except that when I compile some programs with the option -O2 some strange instuctions appear.The following is the detail:
If I choose -O1 instead of -O2,it is normal,the format of the lwl instuction are:
lwl $2,24($2)
but when I use -O2,the format changed into:
lwl $2,$LC59+3
or
lwl $2,ga_pattern+3($2)
These formats cann't be recognized by the assembler,
giving the error message"Error: illegal operands `lwl'"
Very kind of you to give me some advice,thanks a lot.