[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/51368 CVS commit: [netbsd-7] src/sys/arch/powerpc/fpu
The following reply was made to PR port-powerpc/51368; it has been noted by GNATS.
From: "Soren Jacobsen" <snj%netbsd.org@localhost>
Subject: PR/51368 CVS commit: [netbsd-7] src/sys/arch/powerpc/fpu
Date: Tue, 3 Jan 2017 06:19:21 +0000
Module Name: src
Committed By: snj
Date: Tue Jan 3 06:19:21 UTC 2017
src/sys/arch/powerpc/fpu [netbsd-7]: fpu_emu.c fpu_explode.c
Pull up following revision(s) (requested by rin in ticket #1341):
sys/arch/powerpc/fpu/fpu_emu.c: revision 1.19
sys/arch/powerpc/fpu/fpu_explode.c: revision 1.7
- add missing default from FreeBSD
- remove duplicate panic pointed out by matt
PR port-powerpc/51368: powerpc FPU emulation fails for single precision
floating point arithmetic
For single precision instruction, calculate first in double precision,
and then round it. With this fix, single precision arithmetic gets sane
on ibm4xx and booke.
Taken from FreeBSD commit r258250:
Ok matt and simonb.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r188.8.131.52 src/sys/arch/powerpc/fpu/fpu_emu.c
cvs rdiff -u -r1.6 -r184.108.40.206 src/sys/arch/powerpc/fpu/fpu_explode.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |