document "float" rounding workaround on i386

This commit is contained in:
drochner 2006-08-01 20:21:55 +00:00
parent d81b3ce220
commit d7c62b7d6a

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.83 2006/07/31 18:39:32 christos Exp $
# $NetBSD: HACKS,v 1.84 2006/08/01 20:21:55 drochner Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@ -757,3 +757,13 @@ port i386
gcc-4 miscompiles this file with -Os and the resulting
kernel resets as reported in PR33725
kcah
hack use volatile intermediate variable to enforce rounding
cdate Tue Aug 1 22:15:55 MEST 2006
who drochner
file src/lib/libm/src/lrintf.c : 1.4
file src/lib/libm/src/s_rintf.c : 1.8
descr
gcc-4 does subsequent operations on "float" values within
the i387 FPU without rounding the intermediate results
kcah