This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/3268] fma for soft-fp is not correct.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]