Project

General

Profile

Bug #17122

Art putting fpu into single precision mode for macos

Added by Herbert Greenlee about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Infrastructure
Target version:
Start date:
07/07/2017
Due date:
% Done:

0%

Estimated time:
8.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
MicroBooNE
SSI Package:
art
Duration:

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

Revision f22a5b94 (diff)
Added by Christopher Green about 2 years ago

Fix issue #17122, with tests.

History

#1 Updated by Kyle Knoepfel about 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 about 2 years ago

  • Status changed from Accepted to Assigned

#3 Updated by Christopher Green about 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 almost 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF