Home
last modified time | relevance | path

Searched refs:__mxcsr (Results 1 – 3 of 3) sorted by relevance

/haiku/headers/posix/arch/x86/
H A Dfenv.h118 short __mxcsr; in feclearexcept() local
128 __stmxcsr(&__mxcsr); in feclearexcept()
129 __mxcsr &= ~__excepts; in feclearexcept()
130 __ldmxcsr(__mxcsr); in feclearexcept()
138 int __mxcsr, __status; in fegetexceptflag() local
142 __stmxcsr(&__mxcsr); in fegetexceptflag()
144 __mxcsr = 0; in fegetexceptflag()
145 *__flagp = (__mxcsr | __status) & __excepts; in fegetexceptflag()
155 int __mxcsr, __status; in fetestexcept() local
159 __stmxcsr(&__mxcsr); in fetestexcept()
[all …]
/haiku/headers/posix/arch/x86_64/
H A Dfenv.h43 uint32_t __mxcsr; member
105 __stmxcsr(&__env.__mxcsr); in feclearexcept()
106 __env.__mxcsr &= ~__excepts; in feclearexcept()
107 __ldmxcsr(__env.__mxcsr); in feclearexcept()
114 uint32_t __mxcsr; in fegetexceptflag() local
117 __stmxcsr(&__mxcsr); in fegetexceptflag()
119 *__flagp = (__mxcsr | __status) & __excepts; in fegetexceptflag()
129 uint32_t __mxcsr; in fetestexcept() local
132 __stmxcsr(&__mxcsr); in fetestexcept()
134 return ((__status | __mxcsr) & __excepts); in fetestexcept()
[all …]
/haiku/src/system/libroot/posix/arch/x86_64/
H A Dfenv.c54 __stmxcsr(&env.__mxcsr); in fesetexceptflag()
55 env.__mxcsr &= ~excepts; in fesetexceptflag()
56 env.__mxcsr |= *flagp & excepts; in fesetexceptflag()
57 __ldmxcsr(env.__mxcsr); in fesetexceptflag()
77 __stmxcsr(&envp->__mxcsr); in fegetenv()
94 envp->__mxcsr = mxcsr; in feholdexcept()