Home
last modified time | relevance | path

Searched refs:__env (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/posix/arch/x86_64/
H A Dfenv.h81 #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env)) argument
82 #define __fldenvx(__env) __asm __volatile("fldenv %0" : : "m" (__env) \ argument
86 #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=m" (*(__env))) argument
96 fenv_t __env; in feclearexcept() local
101 __fnstenv(&__env.__x87); in feclearexcept()
102 __env.__x87.__status &= ~__excepts; in feclearexcept()
103 __fldenv(__env.__x87); in feclearexcept()
105 __stmxcsr(&__env.__mxcsr); in feclearexcept()
106 __env.__mxcsr &= ~__excepts; in feclearexcept()
107 __ldmxcsr(__env.__mxcsr); in feclearexcept()
/haiku/headers/posix/arch/x86/
H A Dfenv.h102 #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env)) argument
103 #define __fldenvx(__env) __asm __volatile("fldenv %0" : : "m" (__env) \ argument
107 #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=m" (*(__env))) argument
117 fenv_t __env; in feclearexcept() local
123 __fnstenv(&__env); in feclearexcept()
124 __env.__status &= ~__excepts; in feclearexcept()
125 __fldenv(__env); in feclearexcept()
209 fenv_t __env = *__envp; in fesetenv() local
212 __mxcsr = __get_mxcsr(__env); in fesetenv()
213 __set_mxcsr(__env, 0xffffffff); in fesetenv()
[all …]
/haiku/headers/posix/arch/arm/
H A Dfenv.h154 fenv_t __env; in feholdexcept() local
156 __rfs(&__env); in feholdexcept()
157 *__envp = __env; in feholdexcept()
158 __env &= ~(FE_ALL_EXCEPT | _ENABLE_MASK); in feholdexcept()
159 __wfs(__env); in feholdexcept()
/haiku/headers/posix/arch/ppc/
H A Dfenv.h88 #define __mffs(__env) __asm __volatile("mffs %0" : "=f" (*(__env))) argument
89 #define __mtfsf(__env) __asm __volatile("mtfsf 255,%0" : : "f" (__env)) argument
91 #define __mffs(__env) argument
92 #define __mtfsf(__env) argument