aboutsummaryrefslogtreecommitdiff
path: root/lib/msun/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Replace fegetmask() and fesetmask() with feenableexcept(),David Schultz2005-03-161-5/+17
| | | | | | | | | | | | | fedisableexcept(), and fegetexcept(). These two sets of routines provide the same functionality. I implemented the former as an undocumented internal interface to make the regression test easier to write. However, fe(enable|disable|get)except() is already part of glibc, and I would like to avoid gratuitous differences. The only major flaw in the glibc API is that there's no good way to report errors on processors that don't support all the unmasked exceptions. Notes: svn path=/head/; revision=143708
* Define the LDBL_PREC to be the number of significant bits in a longDavid Schultz2005-03-071-0/+3
| | | | | | | double's mantissa. Notes: svn path=/head/; revision=143208
* Mark all inline asms that read the floating-point control or statusDavid Schultz2005-01-141-1/+1
| | | | | | | | | | registers as volatile. Instructions that *wrote* to FP state were already marked volatile, but apparently gcc has license to move non-volatile asms past volatile asms. This broke amd64's feupdateenv at -O2 due to a WAR conflict between fnstsw and fldenv there. Notes: svn path=/head/; revision=140219
* Add an fenv.h implementation for the powerpc port.David Schultz2004-06-062-0/+282
Reviewed by: standards@ Notes: svn path=/head/; revision=130146