This is the mail archive of the gcc@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]

MIPS R3900 'bgt' with gcc 3.0/binutils 2.11.2


[ Cross-posted as I suspect bugs in both binutils and gcc ]

Using a gcc from current gcc-v3_0-branch and binutils 2.11.2 built for
mipstx39-elf (an R3900), I compiled a file only to get:

clock.s:2652: Error: opcode not supported on this processor: R3900 (MIPS1)
`bgtul'

from gas. Sure enough gcc is emitting bgtul that does not exist on the
R3900. While it could be something to do with the 'branch likely' part, it
appears from Toshiba's TX39 docs that bgtu doesn't exist for that chip
either. This is despite bgtu being marked as being in the MIPS I ISA in
libopcodes. Looking around the web, it appears that although bgtu is on the
R2000, I don't _think_ it is in the official MIPS I ISA. But I don't have
any official docs around to check :-|.

But there is definitely a gcc bug, and possibly also a libopcodes bug. Can
someone advise?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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