Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: source-changes
Date: 09/22/2000 22:48:00
Module Name:	syssrc
Committed By:	is
Date:		Fri Sep 22 19:47:59 UTC 2000

Modified Files:
	syssrc/sys/arch/m68k/fpe: fpu_emulate.h fpu_fmovecr.c fpu_int.c
	    fpu_log.c

Log Message:
fpu_emulate.h:
  the fmovecr constant table has the internal format
  of the constants. So, when changing the mantissa size by a
  non-multiple of 32 bits, we'd have to change this table, too. As
  all other code changes just chopped of the least significand
  32bit word of the mantissa, we correct the mantissa size instead
  to (115 - 32 == 83) bits.
fpu_fmovecr.c:
  put a safety belt in, to catch the next person who doesn't know this.
fpu_int.c:
  in one place, the reduction of the mantissa size was overlooked.
fpu_log.c:
  as the most significand 32bit word of the mantissa was changed back to the
  old format, change back the table indexing code, too.

This should fix PR 11045.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/m68k/fpe/fpu_emulate.h \
    syssrc/sys/arch/m68k/fpe/fpu_log.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/m68k/fpe/fpu_fmovecr.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/m68k/fpe/fpu_int.c

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