Home
last modified time | relevance | path

Searched refs:currentFenv (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/flang/lib/Evaluate/
Dhost.cpp24 std::fenv_t currentFenv; in SetUpHostFloatingPointEnvironment() local
30 if (fegetenv(&currentFenv) != 0) { in SetUpHostFloatingPointEnvironment()
50 currentFenv.__fpcr |= (1U << 24); // control register in SetUpHostFloatingPointEnvironment()
52 currentFenv.__fpcr &= ~(1U << 24); // control register in SetUpHostFloatingPointEnvironment()
57 currentFenv.__control |= (1U << 24); // control register in SetUpHostFloatingPointEnvironment()
59 currentFenv.__control &= ~(1U << 24); // control register in SetUpHostFloatingPointEnvironment()
79 if (fesetenv(&currentFenv) != 0) { in SetUpHostFloatingPointEnvironment()
/external/llvm-project/flang/unittests/Evaluate/
Dfp-testing.cpp26 fenv_t currentFenv; in ScopedHostFloatingPointEnvironment() local
27 if (fegetenv(&currentFenv) != 0) { in ScopedHostFloatingPointEnvironment()
50 if (fesetenv(&currentFenv) != 0) { in ScopedHostFloatingPointEnvironment()