Home | History | Annotate | Download | only in include
History log of /src/sys/arch/powerpc/include/fenv.h
RevisionDateAuthorComments
 1.8  30-Oct-2024  riastradh Sprinkle <sys/featuretest.h> where _*_SOURCE macros are consulted.

Otherwise, the feature tests might come out wrong. For example,
header files that check for _NETBSD_SOURCE won't get the default when
no other _*_SOURCE macros are defined; header files that check for
_POSIX_C_SOURCE might miss _XOPEN_SOURCE, which is supposed to imply
a corresponding _POSIX_C_SOURCE.

PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h
 1.7  13-Sep-2022  rin fesetexceptflag(): Set FE_ALL_INVALID instead of FE_ALL_EXCEPT for
FE_INVALID. Taken from FreeBSD:

https://cgit.freebsd.org/src/commit/lib/msun/powerpc/fenv.h?id=e7bd4f846f0c9185aebfd3d116bb78ab137280fa

> [POWERPC] msun: fix incorrect flag in fesetexceptflag
> Fix incorrect mask being used when FE_INVALID bit is wanted by user.
> The problem was noticed thanks to msun fenv tests.
>
> Reviewed by: jhibbits, luporl
> Sponsored by: Eldorado Research Institute (eldorado.org.br)
> Differential Revision: https://reviews.freebsd.org/D27201

No regression for full ATF on both real and emulated FPU.

XXX
Import some tests from FreeBSD's lib/msun/tests.
 1.6  30-Oct-2019  christos do the ignore builtin dance for gcc-8
 1.5  19-Apr-2018  christos branches: 1.5.2;
s/static inline/static __inline/g for consistency.
 1.4  18-Sep-2017  phx branches: 1.4.2; 1.4.4;
Fixed feholdexcept() by copying the actual contents of FPSCR to the fenv_t
instead of a double precision floating point representation of it.
 1.3  22-Mar-2017  chs branches: 1.3.6;
provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
 1.2  27-Feb-2017  chs update the FE0/FE1 MSR bits as needed when changing the exception mask.
 1.1  20-Dec-2015  christos branches: 1.1.2; 1.1.4; 1.1.6;
Add fenv.h for powerpc (from FreeBSD)
 1.1.6.1  21-Apr-2017  bouyer Sync with HEAD
 1.1.4.2  26-Apr-2017  pgoyette Sync with HEAD
 1.1.4.1  20-Mar-2017  pgoyette Sync with HEAD
 1.1.2.3  28-Aug-2017  skrll Sync with HEAD
 1.1.2.2  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1  20-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:40 +0000
 1.3.6.1  23-Sep-2017  snj Pull up following revision(s) (requested by phx in ticket #291):
sys/arch/powerpc/include/fenv.h: revision 1.4
Fixed feholdexcept() by copying the actual contents of FPSCR to the fenv_t
instead of a double precision floating point representation of it.
 1.4.4.1  22-Apr-2018  pgoyette Sync with HEAD
 1.4.2.2  03-Dec-2017  jdolecek update from HEAD
 1.4.2.1  18-Sep-2017  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:37 +0000
 1.5.2.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed