Page MenuHomeFreeBSD

lib/msun/tests: Skip fenv_test:masking if exceptions can't be trapped
ClosedPublic

Authored by arichardson on Mar 5 2021, 4:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 5:01 PM
Unknown Object (File)
Sat, Sep 21, 5:59 AM
Unknown Object (File)
Thu, Sep 19, 6:56 PM
Unknown Object (File)
Thu, Sep 19, 4:17 PM
Unknown Object (File)
Thu, Sep 19, 4:16 PM
Unknown Object (File)
Thu, Sep 19, 4:16 PM
Unknown Object (File)
Thu, Sep 19, 4:04 PM
Unknown Object (File)
Sun, Sep 8, 8:01 PM
Subscribers

Details

Summary

Some CPUs (e.g. AArch64 QEMU) cannot trap on floating point exceptions and
therefore ignore the writes to the floating point control register inside
feenableexcept(). If no exceptions are enabled after
feenableexcept(FE_ALL_EXCEPT), we can assume that the CPU does not
support exceptions and we can then skip the test.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37618
Build 34507: arc lint + arc unit