This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
MIPS pseudo-instruction expansion
- From: Amirtharaj J <amiroffline at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 22 May 2006 03:25:15 -0700 (PDT)
- Subject: MIPS pseudo-instruction expansion
Experts,
I need some help in the following.
The MIPS pseudo-instruction
lw s5, (0xBE800008)
expands to real MIPS instruction with compiler version 2.95.3
3C15BE80 ---> lui s5, %hi(32-bit address)
8EB50008 ---> lw s5, %lo(32-bit address)(s5)
with compiler 3.4.3 the same expands to something which I couldn't
decode. I get "AddrError" in this code, obviously.
3C150000
3C01BE80
66B50001
0015A83C
02A1A82D
The compiler options used are
-O4 -Werror -G 1 -Wa,--trap -mfp64 -mips3 -mtune=r4000
-fno-merge-constants -fno-reorder-blocks -fno-strict-aliasing
-fno-zero-initialized-in-bss -Wp,-fsimplify-pathnames -Wall -Wno-main
-Wpointer-arith -Wstrict-prototypes -Wformat -Wformat-ios
-Wno-parentheses
Is this a bug in 3.4.3 version or am I missing something here ?
Thanks for your help.
Amir
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com