]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/fpu/fenv_private.h
[powerpc] libc_feholdsetround_noex_ppc_ctx: optimize FPSCR write
[thirdparty/glibc.git] / sysdeps / powerpc / fpu / fenv_private.h
index 94960262dde24912bef4b9f50bae9f506d0dfec1..ade0bfaf5f4053133291662c1bed5d220d7b3ac9 100644 (file)
@@ -142,7 +142,7 @@ libc_feholdsetround_noex_ppc_ctx (struct rm_ctx *ctx, int r)
   if (__glibc_unlikely (new.l != old.l))
     {
       __TEST_AND_ENTER_NON_STOP (old.l, 0ULL);
-      fesetenv_register (new.fenv);
+      fesetenv_mode (new.fenv);
       ctx->updated_status = true;
     }
   else