Home
last modified time | relevance | path

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

/external/llvm-project/flang/unittests/Evaluate/
Dfp-testing.cpp35 unsigned int currentMxcsr{originalMxcsr}; in ScopedHostFloatingPointEnvironment() local
37 currentMxcsr |= 0x0040; in ScopedHostFloatingPointEnvironment()
39 currentMxcsr &= ~0x0040; in ScopedHostFloatingPointEnvironment()
42 currentMxcsr |= 0x8000; in ScopedHostFloatingPointEnvironment()
44 currentMxcsr &= ~0x8000; in ScopedHostFloatingPointEnvironment()
56 _mm_setcsr(currentMxcsr); in ScopedHostFloatingPointEnvironment()
/external/llvm-project/flang/lib/Evaluate/
Dhost.cpp38 unsigned int currentMxcsr{originalMxcsr}; in SetUpHostFloatingPointEnvironment() local
40 currentMxcsr |= 0x8000; in SetUpHostFloatingPointEnvironment()
41 currentMxcsr |= 0x0040; in SetUpHostFloatingPointEnvironment()
43 currentMxcsr &= ~0x8000; in SetUpHostFloatingPointEnvironment()
44 currentMxcsr &= ~0x0040; in SetUpHostFloatingPointEnvironment()
85 _mm_setcsr(currentMxcsr); in SetUpHostFloatingPointEnvironment()