Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO.
authorWilco <wdijkstr@arm.com>
Tue, 24 Jun 2014 15:02:51 +0000 (15:02 +0000)
committerWilco <wdijkstr@arm.com>
Tue, 24 Jun 2014 15:02:51 +0000 (15:02 +0000)
commitb5570d92d6bb6ba9c25ac6ed77ba170dd7f4acd3
tree002d08b3bfb4c12e49b736b68a3646591b6d498f
parent947bdca24d1ada7e83cf266213dba02c99d035a5
Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO.

2014-06-24  Wilco  <wdijkstr@arm.com>

* sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
* sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
(libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
(libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
(libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
* sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
* sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
Use _FPU_MASK_RM.
ChangeLog
sysdeps/arm/fenv_private.h
sysdeps/arm/fesetround.c
sysdeps/arm/fpu_control.h
sysdeps/arm/get-rounding-mode.h