Subject: Re: Code w/ 680x0 (x<=4) instructions not implemented in 68060
To: None <arto.huusko@pp.qnet.fi, port-m68k@NetBSD.ORG>
From: Daniel Widenfalk <Daniel@lilla-graen.c.se>
List: port-m68k
Date: 06/23/1998 21:24:23
Hi,

Here's a list:

Integer operations not implemented in the MC68060

DIVU.L	<ea>,Dr:Dq			64/32 => 32r,32q
DIVS.L	<ea>,Dr:Dq			64/32 => 32r,32q
MULU.L	<ea>,Dr:Dq			32*32 => 64
MULS.L	<ea>,Dr:Dq			32*32 => 64
MOVEP	Dx,(d16,Ay)			size = W or L
MOVEP	(d16,Ay),Dx			size = W or L
CHK2	<ea>,Rn				size = B, W or L
CMP2	<ea>,Rn				size = B, W or L
CAS2	Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)	size = W or L
CAS	Dc,Du,<ea>			size = W or L, misaligned <ea>

Floating-Point operations not implemented in the MC68060

FACOS	FLOGN	FASIN	FLOGNP1	FATAN	FMOVECR	FATANH	FSIN
FCOS	FSINCOS	FCOSH	FSINH	FETOX	FTAN	FETOXM1	FTANH
FGETEXP	FTENTOX	FGETMAN	FTWOTOX	FLOG10	FLOG2	FMOD	FREM
FSCALE	FTRAPcc	FDBcc	FScc

Unimplemented <ea> for floating-point instructions

FMOVEM.X	(dynamic register list)
FMOVEM.L	#immediate of 2 or 3 control regs
F<op>.X		#immediate,FPn
F<op>.P		#immediate,FPn

Unimplemented floating-point data formats and types

DECIMAL any format
Denormalized, SGL, DBL, EXT
Unnormalized, EXT, DEC

Software support needed for the following floating-point exceptions

INEX, OPERR, SNAN

ALSO, Some addressing modes are not supported by the emulation software
under certain exceptions. All of them when using the supervisor stack
"backwards", i.e.

f<op>.w	-(ssp),FPn

Hope this sheads some light on the matter.

/Daniel Widenfalk

P.S. Can I do
echo unsubscribe port-m68k <e-mail address> | mail majordomo@netbsd.org
to remove myself from this list? It goes to an old account I don't use
anymore...