Bug #17122
Art putting fpu into single precision mode for macos
Description
Between art v2_06_03 and art v2_07_03, art has started putting the fpu into single precision mode for macos.
Associated revisions
History
#1 Updated by Kyle Knoepfel over 2 years ago
- Status changed from New to Accepted
- Assignee set to Christopher Green
- Estimated time set to 8.00 h
- SSI Package art added
We will investigate. Estimated time reflects analysis only.
#2 Updated by Kyle Knoepfel over 2 years ago
- Status changed from Accepted to Assigned
#3 Updated by Christopher Green over 2 years ago
- Category set to Infrastructure
- Status changed from Assigned to Resolved
- Target version set to 2.08.00
An issue was identified on OS X with the way the masks were being applied that may have been hidden by the recently-removed per-module FPU control system.
The floating point control service has been overhauled to avoid this issue, and to be generally much more robust and straightforward, and tests have been put in place to ensure that the exception masking and precision setting system are operating as expected.
One very important note: on Linux in particular, the C99 standard fegetenv()
function is not safe to use because it resets the exception masking. We would suggest using the newly-provided functions in the service, getMask()
and getPrecision()
if you need to verify the settings for yourself for any reason.
#4 Updated by Kyle Knoepfel over 2 years ago
- Status changed from Resolved to Closed
Fix issue #17122, with tests.