Lines Matching refs:ctx
131 libc_feholdexcept_setround_sparc_ctx (struct rm_ctx *ctx, int round) in libc_feholdexcept_setround_sparc_ctx() argument
135 __fenv_stfsr(ctx->env); in libc_feholdexcept_setround_sparc_ctx()
136 new = ctx->env & ~((0x1f << 23) | FE_ALL_EXCEPT); in libc_feholdexcept_setround_sparc_ctx()
138 if (__glibc_unlikely (new != ctx->env)) in libc_feholdexcept_setround_sparc_ctx()
141 ctx->updated_status = true; in libc_feholdexcept_setround_sparc_ctx()
144 ctx->updated_status = false; in libc_feholdexcept_setround_sparc_ctx()
148 libc_fesetenv_sparc_ctx (struct rm_ctx *ctx) in libc_fesetenv_sparc_ctx() argument
150 libc_fesetenv(&ctx->env); in libc_fesetenv_sparc_ctx()
154 libc_feupdateenv_sparc_ctx (struct rm_ctx *ctx) in libc_feupdateenv_sparc_ctx() argument
156 if (__glibc_unlikely (ctx->updated_status)) in libc_feupdateenv_sparc_ctx()
157 libc_feupdateenv_test (&ctx->env, 0); in libc_feupdateenv_sparc_ctx()
161 libc_feholdsetround_sparc_ctx (struct rm_ctx *ctx, int round) in libc_feholdsetround_sparc_ctx() argument
165 __fenv_stfsr(ctx->env); in libc_feholdsetround_sparc_ctx()
166 new = (ctx->env & ~__FE_ROUND_MASK) | round; in libc_feholdsetround_sparc_ctx()
167 if (__glibc_unlikely (new != ctx->env)) in libc_feholdsetround_sparc_ctx()
170 ctx->updated_status = true; in libc_feholdsetround_sparc_ctx()
173 ctx->updated_status = false; in libc_feholdsetround_sparc_ctx()