Home
last modified time | relevance | path

Searched refs:_ROUND_MASK (Results 1 – 7 of 7) sorted by relevance

/haiku/headers/posix/arch/arm64/
H A Dfenv.h62 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
141 return ((__r >> _ROUND_SHIFT) & _ROUND_MASK); in fegetround()
149 if (__round & ~_ROUND_MASK) in fesetround()
152 __r &= ~(_ROUND_MASK << _ROUND_SHIFT); in fesetround()
167 *__envp |= __r & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT)); in fegetenv()
183 *__envp |= __r & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT)); in feholdexcept()
194 __msr_fpsr((*__envp) & (FE_ALL_EXCEPT | (_ROUND_MASK << _ROUND_SHIFT))); in fesetenv()
/haiku/headers/posix/arch/x86_64/
H A Dfenv.h63 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
149 return (__control & _ROUND_MASK); in fegetround()
158 if (__round & ~_ROUND_MASK) in fesetround()
162 __control &= ~_ROUND_MASK; in fesetround()
167 __mxcsr &= ~(_ROUND_MASK << _SSE_ROUND_SHIFT); in fesetround()
/haiku/headers/posix/arch/x86/
H A Dfenv.h73 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
177 return (__control & _ROUND_MASK); in fegetround()
185 if (__round & ~_ROUND_MASK) in fesetround()
189 __control &= ~_ROUND_MASK; in fesetround()
195 __mxcsr &= ~(_ROUND_MASK << _SSE_ROUND_SHIFT); in fesetround()
/haiku/headers/posix/arch/riscv64/
H A Dfenv.h69 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
162 return (__fcsr & _ROUND_MASK); in fegetround()
170 if (__round & ~_ROUND_MASK) in fesetround()
174 __fcsr &= ~_ROUND_MASK; in fesetround()
/haiku/headers/posix/arch/sparc64/
H A Dfenv.h64 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
169 return ((__r >> _ROUND_SHIFT) & _ROUND_MASK); in fegetround()
177 if (__round & ~_ROUND_MASK) in fesetround()
180 __r &= ~(_ROUND_MASK << _ROUND_SHIFT); in fesetround()
/haiku/headers/posix/arch/ppc/
H A Dfenv.h73 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro
168 return (__r.__bits.__reg & _ROUND_MASK); in fegetround()
176 if (__round & ~_ROUND_MASK) in fesetround()
179 __r.__bits.__reg &= ~_ROUND_MASK; in fesetround()
/haiku/headers/posix/arch/arm/
H A Dfenv.h53 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ macro