Add round-mode context support to sparc.
commit4fa262fa9e8836f2e513e3ea56797dab2d75e6de
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 22:14:58 +0000 (30 15:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 22:14:58 +0000 (30 15:14 -0700)
tree7eaf4b5e6df7f2642202ed7253075d5418a52d6e
parent1d3d93ef73c7712a7b903140e524f081d349865b
Add round-mode context support to sparc.

* sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
(libc_feholdexcept_setround_sparc_ctx): New function.
(libc_fesetenv_sparc_ctx): Likewise.
(libc_feupdateenv_sparc_ctx): Likewise.
(libc_feholdsetround_sparc_ctx): Likewise.
(libc_feholdexcept_setround_ctx): Define.
(libc_feholdexcept_setroundf_ctx): Likewise.
(libc_feholdexcept_setroundl_ctx): Likewise.
(libc_fesetenv_ctx): Likewise.
(libc_fesetenvf_ctx): Likewise.
(libc_fesetenvl_ctx): Likewise.
(libc_feupdateenv_ctx): Likewise.
(libc_feupdateenvf_ctx): Likewise.
(libc_feupdateenvl_ctx): Likewise.
(libc_feresetround_ctx): Likewise.
(libc_feresetroundf_ctx): Likewise.
(libc_feresetroundl_ctx): Likewise.
(libc_feholdsetround_ctx): Likewise.
(libc_feholdsetroundf_ctx): Likewise.
(libc_feholdsetroundl_ctx): Likewise.
ChangeLog
sysdeps/sparc/fpu/fenv_private.h