Home
last modified time | relevance | path

Searched refs:envp (Results 1 – 18 of 18) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/include/machine/
Dfenv-softfloat.h118 fegetenv(fenv_t *envp) in fegetenv() argument
120 (void) envp; in fegetenv()
125 feholdexcept(fenv_t *envp) in feholdexcept() argument
127 (void) envp; in feholdexcept()
132 fesetenv(const fenv_t *envp) in fesetenv() argument
134 (void) envp; in fesetenv()
139 feupdateenv(const fenv_t *envp) in feupdateenv() argument
141 (void) envp; in feupdateenv()
144 if (envp == FE_NOMASK_ENV) in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/x86/
Dfenv.c163 fegetenv (fenv_t *envp) in fegetenv() argument
169 : "=m" (envp->_fpu) : ); in fegetenv()
171 __asm__ volatile ("stmxcsr %0" : "=m" (envp->_sse_mxcsr) : ); in fegetenv()
181 feholdexcept (fenv_t *envp) in feholdexcept() argument
184 fegetenv (envp); in feholdexcept()
185 mxcsr = envp->_sse_mxcsr & ~FE_ALL_EXCEPT; in feholdexcept()
197 fesetenv (const fenv_t *envp) in fesetenv() argument
199 if ((envp == FE_DFL_ENV || envp == FE_NOMASK_ENV) && in fesetenv()
200 envp->_fpu._fpu_cw == 0) in fesetenv()
203 __asm__ volatile ("fldenv %0" :: "m" (envp->_fpu) ); in fesetenv()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/machine/
Dfenv-fp.h87 __declare_fenv_inline(int) fegetenv(fenv_t *envp) in fegetenv() argument
97 *envp = fcsr; in fegetenv()
190 __declare_fenv_inline(int) feholdexcept(fenv_t *envp) in feholdexcept() argument
197 *envp = fcsr; in feholdexcept()
285 __declare_fenv_inline(int) fesetenv(const fenv_t *envp) in fesetenv() argument
290 fenv_t fcsr = *envp; in fesetenv()
423 __declare_fenv_inline(int) feupdateenv(const fenv_t *envp) in feupdateenv() argument
433 fenv_t fcsr = *envp; /* Environment to install */ in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/include/
Dfenv.h55 void fegetenv(fenv_t *envp);
56 int feholdexcept(fenv_t *envp);
57 void fesetenv(const fenv_t *envp);
58 void feupdateenv(const fenv_t *envp);
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sh/machine/
Dfenv-fp.h72 __declare_fenv_inline(int) fegetenv(fenv_t *envp) in fegetenv() argument
76 *envp = __env; in fegetenv()
105 __declare_fenv_inline(int) feholdexcept(fenv_t *envp) in feholdexcept() argument
110 *envp = __env; in feholdexcept()
116 __declare_fenv_inline(int) fesetenv(const fenv_t *envp) in fesetenv() argument
119 _sh_set_fpscr(*envp); in fesetenv()
166 __declare_fenv_inline(int) feupdateenv(const fenv_t *envp) in feupdateenv() argument
171 _sh_set_fpscr(*envp); in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/machine/
Dfenv-fp.h76 __declare_fenv_inline(int) fegetenv(fenv_t *envp) in fegetenv() argument
78 _vmrs_fpscr(*envp); in fegetenv()
106 __declare_fenv_inline(int) feholdexcept(fenv_t *envp) in feholdexcept() argument
111 *envp = __env; in feholdexcept()
117 __declare_fenv_inline(int) fesetenv(const fenv_t *envp) in fesetenv() argument
119 _vmsr_fpscr(*envp); in fesetenv()
165 __declare_fenv_inline(int) feupdateenv(const fenv_t *envp) in feupdateenv() argument
170 _vmsr_fpscr(*envp); in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/machine/
Dfenv-fp.h134 fegetenv(fenv_t *envp) in fegetenv() argument
137 __cfc1(*envp); in fegetenv()
143 feholdexcept(fenv_t *envp) in feholdexcept() argument
148 *envp = fcsr; in feholdexcept()
156 fesetenv(const fenv_t *envp) in fesetenv() argument
159 __ctc1(*envp); in fesetenv()
165 feupdateenv(const fenv_t *envp) in feupdateenv() argument
170 fesetenv(envp); in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sparc/machine/
Dfenv-fp.h207 fegetenv(fenv_t *envp) in fegetenv() argument
209 __stfsr(envp); in fegetenv()
223 feholdexcept(fenv_t *envp) in feholdexcept() argument
228 *envp = r; in feholdexcept()
245 fesetenv(const fenv_t *envp) in fesetenv() argument
247 __ldfsr(*envp); in fesetenv()
263 feupdateenv(const fenv_t *envp) in feupdateenv() argument
268 __ldfsr(*envp); in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dfenv.h41 int fegetenv(fenv_t *envp);
42 int feholdexcept(fenv_t *envp);
43 int fesetenv(const fenv_t *envp);
44 int feupdateenv(const fenv_t *envp);
/picolibc-3.7.0-3.6.0/newlib/libc/machine/m68k/machine/
Dfenv-fp.h55 __declare_fenv_inline(int) fegetenv(fenv_t *envp) in fegetenv() argument
68 *envp = (fpcr & 0xff00) | ((fpcr >> 4) & 3) | (fpsr & 0xf8); in fegetenv()
99 __declare_fenv_inline(int) feholdexcept(fenv_t *envp) in feholdexcept() argument
109 *envp = (fpcr & 0xff00) | ((fpcr >> 4) & 3) | (fpsr & 0xf8); in feholdexcept()
150 __declare_fenv_inline(int) fesetenv(const fenv_t *envp) in fesetenv() argument
152 fenv_t env = *envp; in fesetenv()
227 __declare_fenv_inline(int) feupdateenv(const fenv_t *envp) in feupdateenv() argument
229 fenv_t env = *envp; in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/powerpc/machine/
Dfenv-fp.h121 fegetenv(fenv_t *envp) in fegetenv() argument
126 *envp = __r.__bits.__reg; in fegetenv()
131 feholdexcept(fenv_t *envp) in feholdexcept() argument
136 *envp = __r.__bits.__reg; in feholdexcept()
143 fesetenv(const fenv_t *envp) in fesetenv() argument
147 __r.__bits.__reg = *envp; in fesetenv()
153 feupdateenv(const fenv_t *envp) in feupdateenv() argument
159 __r.__bits.__reg |= *envp; in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dfeholdexcept.h40 static __inline int _feholdexcept(fenv_t *envp) in _feholdexcept() argument
46 *envp = __pack_fpscr(fpscr); in _feholdexcept()
47 env = *envp & ~FE_ALL_EXCEPT; in _feholdexcept()
Dfegetenv.h40 static __inline void _fegetenv(fenv_t *envp) in _fegetenv() argument
45 *envp = __pack_fpscr(fpscr); in _fegetenv()
Dfesetenv.h40 static __inline void _fesetenv(const fenv_t *envp) in _fesetenv() argument
44 fpscr = __unpack_fpscr(*envp); in _fesetenv()
Dfeupdateenv.h40 static __inline void _feupdateenv(const fenv_t *envp) in _feupdateenv() argument
44 fpscr = __unpack_fpscr(*envp); in _feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/libc/sys/xtensa/
Dclibrary_init.c31 __clibrary_init (int argc, char **argv, char **envp, in __clibrary_init() argument
37 environ = envp; in __clibrary_init()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/xtensa/machine/
Dfenv-fp.h92 __declare_fenv_inline(int) feholdexcept(fenv_t * envp) in feholdexcept() argument
99 *envp = fsr | fcr; in feholdexcept()
158 __declare_fenv_inline(int) feupdateenv(const fenv_t * envp) in feupdateenv() argument
162 fesetenv (envp); in feupdateenv()
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201510536 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
25140 (argv, envp): Dump if __strace >= 4.