Lines Matching refs:ctx

315 libc_feholdexcept_setround_sse_ctx (struct rm_ctx *ctx, int r)  in libc_feholdexcept_setround_sse_ctx()  argument
321 ctx->env.__mxcsr = mxcsr; in libc_feholdexcept_setround_sse_ctx()
325 ctx->updated_status = true; in libc_feholdexcept_setround_sse_ctx()
328 ctx->updated_status = false; in libc_feholdexcept_setround_sse_ctx()
335 libc_fesetenv_sse_ctx (struct rm_ctx *ctx) in libc_fesetenv_sse_ctx() argument
337 libc_fesetenv_sse (&ctx->env); in libc_fesetenv_sse_ctx()
341 libc_feupdateenv_sse_ctx (struct rm_ctx *ctx) in libc_feupdateenv_sse_ctx() argument
343 if (__glibc_unlikely (ctx->updated_status)) in libc_feupdateenv_sse_ctx()
344 libc_feupdateenv_test_sse (&ctx->env, 0); in libc_feupdateenv_sse_ctx()
348 libc_feholdexcept_setround_387_prec_ctx (struct rm_ctx *ctx, int r) in libc_feholdexcept_setround_387_prec_ctx() argument
350 libc_feholdexcept_387 (&ctx->env); in libc_feholdexcept_setround_387_prec_ctx()
352 fpu_control_t cw = ctx->env.__control_word; in libc_feholdexcept_setround_387_prec_ctx()
360 ctx->updated_status = true; in libc_feholdexcept_setround_387_prec_ctx()
363 ctx->updated_status = false; in libc_feholdexcept_setround_387_prec_ctx()
367 libc_feholdexcept_setround_387_ctx (struct rm_ctx *ctx, int r) in libc_feholdexcept_setround_387_ctx() argument
369 libc_feholdexcept_setround_387_prec_ctx (ctx, r | _FPU_EXTENDED); in libc_feholdexcept_setround_387_ctx()
373 libc_feholdexcept_setround_387_53bit_ctx (struct rm_ctx *ctx, int r) in libc_feholdexcept_setround_387_53bit_ctx() argument
375 libc_feholdexcept_setround_387_prec_ctx (ctx, r | _FPU_DOUBLE); in libc_feholdexcept_setround_387_53bit_ctx()
379 libc_feholdsetround_387_prec_ctx (struct rm_ctx *ctx, int r) in libc_feholdsetround_387_prec_ctx() argument
388 ctx->env.__control_word = cw; in libc_feholdsetround_387_prec_ctx()
392 ctx->updated_status = true; in libc_feholdsetround_387_prec_ctx()
395 ctx->updated_status = false; in libc_feholdsetround_387_prec_ctx()
399 libc_feholdsetround_387_ctx (struct rm_ctx *ctx, int r) in libc_feholdsetround_387_ctx() argument
401 libc_feholdsetround_387_prec_ctx (ctx, r | _FPU_EXTENDED); in libc_feholdsetround_387_ctx()
405 libc_feholdsetround_387_53bit_ctx (struct rm_ctx *ctx, int r) in libc_feholdsetround_387_53bit_ctx() argument
407 libc_feholdsetround_387_prec_ctx (ctx, r | _FPU_DOUBLE); in libc_feholdsetround_387_53bit_ctx()
411 libc_feholdsetround_sse_ctx (struct rm_ctx *ctx, int r) in libc_feholdsetround_sse_ctx() argument
418 ctx->env.__mxcsr = mxcsr; in libc_feholdsetround_sse_ctx()
422 ctx->updated_status = true; in libc_feholdsetround_sse_ctx()
425 ctx->updated_status = false; in libc_feholdsetround_sse_ctx()
429 libc_feresetround_sse_ctx (struct rm_ctx *ctx) in libc_feresetround_sse_ctx() argument
431 if (__glibc_unlikely (ctx->updated_status)) in libc_feresetround_sse_ctx()
432 libc_feresetround_sse (&ctx->env); in libc_feresetround_sse_ctx()
436 libc_feresetround_387_ctx (struct rm_ctx *ctx) in libc_feresetround_387_ctx() argument
438 if (__glibc_unlikely (ctx->updated_status)) in libc_feresetround_387_ctx()
439 _FPU_SETCW (ctx->env.__control_word); in libc_feresetround_387_ctx()
443 libc_feupdateenv_387_ctx (struct rm_ctx *ctx) in libc_feupdateenv_387_ctx() argument
445 if (__glibc_unlikely (ctx->updated_status)) in libc_feupdateenv_387_ctx()
446 libc_feupdateenv_test_387 (&ctx->env, 0); in libc_feupdateenv_387_ctx()