diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-03-08 20:26:36 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-06-12 11:46:22 -0300 |
commit | 21bd039bb41a59cdbd6c93670433e3b473720653 (patch) | |
tree | 4047dcc470c90f96a12f8b2d3e43e726da1f3e8d /sysdeps/powerpc/powerpc32/power6/fpu | |
parent | cfa611447b44d2fa1cb3d8f853b6f3f75ade366a (diff) | |
download | glibc-21bd039bb41a59cdbd6c93670433e3b473720653.tar.gz glibc-21bd039bb41a59cdbd6c93670433e3b473720653.tar.xz glibc-21bd039bb41a59cdbd6c93670433e3b473720653.zip |
powerpc: consolidate rint
This patches consolidates all the powerpc rint{f} implementations on the generic sysdeps/powerpc/fpu/s_rint{f}. Checked on powerpc-linux-gnu (built without --with-cpu, with --with-cpu=power4 and with --with-cpu=power5+ and --disable-multi-arch), powerpc64-linux-gnu (built without --with-cp and with --with-cpu=power5+ and --disable-multi-arch). * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode, round_to_integer_float, round_mode): Add RINT handling. (reset_fenv_mode): New symbol. * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation. * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power6/fpu')
0 files changed, 0 insertions, 0 deletions