This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

some strange instructions appear after optimization


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.

      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]