Subject: Re: Code w/ 680x0 (x<=4) instructions not implemented in 68060
To: Ingolf Koch <ingolf@djo-jena.de>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-m68k
Date: 06/23/1998 19:00:10
On Tue, Jun 23, 1998 at 09:03:07AM +0200, Ingolf Koch wrote:
> Hi, out there.
> 
> There is still some code (at least in various packages) which
> contains m68k assembler code with instructions not implemented
> in the 68060 processor. An example is the ssh package: It uses
> the GNU multiprecision library, which leads to a huge amount
> of instruction emulation.
> 
> A quick workaround in this case would be to use the generic stuff
> (C code) instead of the assembler "equivalent", but I'd prefer
> an assembler variant for 68060.
> 
> Does anyone have a file containing the critical 68k instructions
> (i.e. those not implemented in 060s) together with a suitable
> replacement for these instructions?

Look at sys/arch/m68k/060sp/: it contains the emulation library.

But in short: nothing the 68040 doesn't support, no integer mul or div with
64bit result/input, no movep, no unaligned CAS, no CAS2, uhm... I think
some strange FP data types less than the 68040.


	-is