[Top] [All Lists]

Re: Correct assembler/compiler options for 4KC core?

To: Thiemo Seufer <>
Subject: Re: Correct assembler/compiler options for 4KC core?
From: David Kesselring <>
Date: Wed, 14 Jan 2004 12:07:22 -0500 (EST)
Cc: "Zajerko-McKee, Nick" <>, <>
In-reply-to: <>
Original-recipient: rfc822;
If 2.95 is too old for him, where should he(and I) get the latest stable
packages. It seems like the MIPS environment is varied and there are
toolchains for various processors in different locations. Is the toolchain
and binutils for 4k/5k processors on the ftp site?
Is the correct gcc 3.2.xx? Will it build 2.4.2x that is in linux-mips cvs?
Will it build 2.6? Will it build 64bit kernels? It would be nice if
someone in the know could create a chart or add the info to readme or
howto on site.
Thanks for sharing what you know.

On Wed, 14 Jan 2004, Thiemo Seufer wrote:

> Zajerko-McKee, Nick wrote:
> > Hi,
> >
> > I'm trying to use the following opcodes: movz, movn, clo, clz, madd, msub on
> > both a 4KC and 4KeC core. What gas options should I use to get the above
> > opcodes to work (mips4?  mips32?)
> With a modern toolchain: -march=mips32.
> > How would one link against closed source
> > libraries that were compiled for mips2?
> This will just work if you use a recent binutils version, and if the
> libraries are O32 ABI conformant.
> > Is there a list of what opcodes
> > correspond to the various ISA's and gas flags?  The best reference I saw was
> > from fsf that just mentions the -mips1/-mips2/-mips3/-mips4. I did notice
> > in the latest gas docs -march option,
> -mips32 is retained as an alias for -march=mips32.
> > but I don't see that available in my
> > toolchain.  I'm running on a development system with gas 2.9.5 and gcc 2.96.
> gas 2.9.5 is _very_ old. It might be possible to use "-mips4 -mgp32" for
> movn, movz, but I'm not sure if this actually works. For the other opcodes
> the toolchain is just too old.
> Thiemo

David Kesselring
Atmel MMC

<Prev in Thread] Current Thread [Next in Thread>