[Top] [All Lists]

Re: GAS 4kc question...

To: "Zajerko-McKee, Nick" <>
Subject: Re: GAS 4kc question...
From: Carsten Langgaard <>
Date: Wed, 31 Jul 2002 08:03:54 +0200
Cc: "Linux-Mips (E-mail)" <>
References: <>
I guess you mean madd and mul (not mulu).
These instructions are MIPS32 instructions and are most likely not recognized
by your toolchain.
Try use the compiler option "-mips32" to verify it.
So for now I'm afraid you need to hardcode these by hand. We are very close to
release a MIPS32 compiler, so we don't need these hacks in the future.


"Zajerko-McKee, Nick" wrote:

> Hi,
> I'm trying to write some inline assembler code that needs the madd and mulu
> op codes found on the 4KC processor.  I've tried setting the cpu to 4650,
> but it failed to recognize the mulu instruction.  Can someone give me the
> magic incantation?  I'm running right now GCC 2.95.3 from Montavista.  I
> guess one way I can attack it for now is to build the op code by hand, but
> that is quite dirty, IMHO...
>   ------------------------------------------------------------------------
>    Nick Zajerko-McKee.vcfName: Nick Zajerko-McKee.vcf
>                          Type: VCard (text/x-vcard)

_    _ ____  ___   Carsten Langgaard
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556

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