This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3268] fma for soft-fp is not correct.
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Sep 2006 21:38:52 -0000
- Subject: [Bug math/3268] fma for soft-fp is not correct.
- References: <20060926212234.3268.sjmunroe@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From sjmunroe at us dot ibm dot com 2006-09-26 21:38 -------
These patches create fmasf4.c and fmadf4.c in soft-fp. These function have to
built with soft-fp and exported from libc. Otherwise they can not access the
simulated FPU events, masks and rounding modes which are defined in libc but not
exports.
The soft-fp implementation of s_fma.c and s_fmaf.c reside in libm and are
exported from there. Currently there does not seem to be a good way to override
the generic (and incorrect) ./math/s_fms[f].c from the soft-fp directory. So for
now I placed the overrides in ports/sysdeps/powerpc/nofpu for testing.
I have not implemented a s_fmal.c/fmatf4.c for now. This would imply a soft-fp
(256-bit) extented implementation not supported by the current soft-fp.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3268
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.