NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/51368 CVS commit: src/sys/arch/powerpc/fpu

The following reply was made to PR port-powerpc/51368; it has been noted by GNATS.

From: "Rin Okuyama" <>
Subject: PR/51368 CVS commit: src/sys/arch/powerpc/fpu
Date: Wed, 28 Dec 2016 10:52:30 +0000

 Module Name:	src
 Committed By:	rin
 Date:		Wed Dec 28 10:52:30 UTC 2016
 Modified Files:
 	src/sys/arch/powerpc/fpu: fpu_emu.c
 Log Message:
 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.18 -r1.19 src/sys/arch/powerpc/fpu/fpu_emu.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index