Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: source-changes
Date: 01/05/2001 21:54:31
Module Name:	syssrc
Committed By:	is
Date:		Fri Jan  5 19:54:31 UTC 2001

Modified Files:
	syssrc/sys/arch/m68k/fpe: fpu_calcea.c fpu_emulate.c

Log Message:
Make this actually sort-of-work for 68060 w. disabled FPU (tested), 68LC060,
and I suspect, 68LC040 and 68040V machines. Method used:

1. do NOT use the frames effective address at all
2. do NOT use the frames next instruction address, but
3. restore the "this instruction" pc into the pc field of the frame at the
   beginning of the emulation, if we got a frame format 4.

TODO:
A. find the bug in the usage of the frame EA, and revert to using it.
B. find the bug in the usage of the frames next instruction address, and
   consider whether it's worthwhile to use it.
C. make the emulation complete.... FEXP FETOM1, and the trigonometric functions
   are missing.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/m68k/fpe/fpu_calcea.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/m68k/fpe/fpu_emulate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.