mbox series

[00/28] powerpc floating-point optimization refactor

Message ID 20190329133529.22523-1-adhemerval.zanella@linaro.org
Headers show
Series powerpc floating-point optimization refactor | expand

Message

Adhemerval Zanella March 29, 2019, 1:35 p.m. UTC
This is a powerpc fpu refactor and simplification which consolidate
some assembly optimization in C implementation (which similar
performance result), remove some bloat optimizations which only
add code complexity, refactor IFUNC selection to disable unnecessary
selection on powercpc64le, and also optimize some symbols for
powerpc64le ISA 2.07+.

The idea is also to remove some build variation with different 
--with-cpu selection, more especially in implementation selection.
The powerpc sysdeps selection is currently quite convoluted and 
complex, with many variations due --with-cpu, and with the three
main ABIs sharing some rules. Worse, new chips/ISA only tend to 
make it worse and some chip-specific optimizations might not be
beneficial for a newer version.

My idea is to move powerpc64, or at least powerpc64le, more in
the direction of x86_64 and s390x are moving: a baseline build
without --with-cpu selection and IFUNC variation enable/disable
based on compiler flags (indicate through pre-processor defines).

This will simplify new chips addition (no more the need to add
multiple implies folders), build baseline will have fewer sysdeps
folder, and less possible variations that might be tested.

Although I focused on optimizing it for powerpc64le, both powerpc
and powerpc64 baselines builds results simplified code with
optimized results.  It also results in some binary size reduction
for libm:

$ size powerpc64-linux-gnu-master/math/libm.so
   text    data     bss     dec     hex filename
 803010   18044     576  821630   c897e powerpc64-linux-gnu-master/math/libm.so
$ size powerpc64-linux-gnu/math/libm.so
   text    data     bss     dec     hex filename
 796094   17284     504  813882   c6b3a powerpc64-linux-gnu/math/libm.so

$ size powerpc64le-linux-gnu-master/math/libm.so
   text    data     bss     dec     hex filename
1061284    2904     288 1064476  103e1c powerpc64le-linux-gnu-master/math/libm.so
$ size powerpc64le-linux-gnu/math/libm.so
   text    data     bss     dec     hex filename
1048772    2512     264 1051548  100b9c powerpc64le-linux-gnu/math/libm.so

For testing I tried to cover to different build option and optimization
which the code might result in different code generation:

  - powerpc-linux-gnu
  - powerpc-linux-gnu and --with-cpu=power4
  - powerpc-linux-gnu and --with-cpu=power5+
  - powerpc-linux-gnu and --with-cpu=power7
  - powerpc-linux-gnu and --with-cpu=power4 and --disable-arch
  - powerpc-linux-gnu and --with-cpu=power5+ and --disable-arch
  - powerpc-linux-gnu and --with-cpu=power7 and --disable-arch
  - powerpc64-linux-gnu
  - powerpc64le-linux-gnu
  - powerpc64le-linux-gnu and --disable-arch
  - powerpc64le-linux-gnu --with-cpu=power8

The compilers used are the one resulted from build-many-glibcs, which optimizes
for default minumum cpus.

Adhemerval Zanella (28):
  powerpc: Use generic fabs{f} implementations
  powerpc: fma using builtins
  powerpc: Remove power4 mpa optimization
  powerpc: ceil/ceilf refactor
  powerpc: floor/floorf refactor
  powerpc: round/roundf refactor
  powerpc: trunc/truncf refactor
  powerpc: generic nearbyint/nearbyintf
  powerpc: consolidate rint
  powerpc: copysign cleanup
  benchtests: Add isnan/isinf/isfinite benchmark
  math: Use wordsize-64 version for isnan
  powerpc: Remove optimized isnan
  math: Use wordsize-64 version for isinf
  powerpc: Remove optimized isinf
  math: Use wordsize-64 version for finite
  powerpc: Remove optimized finite
  powerpc: refactor powerpc64 lrint/lrintf/llrint/llrintf
  powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf
  powerpc: Refactor powerpc64 lround/lroundf/llround/llroundf
  powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf
  powerpc: Use generic e_expf
  benchtests: hypot benchmark
  powerpc: hypot refactor and optimization
  powerpc: Refactor modf{f}
  benchtests: Add logb{f} benchmark
  math: Use wordsize-64 version for s_logb
  powerpc: refactor logb{f,l}

 benchtests/Makefile                           |   5 +-
 benchtests/hypot-inputs                       |  16 +
 benchtests/isfinite-inputs                    |  21 ++
 benchtests/isinf-inputs                       |  21 ++
 benchtests/isnan-inputs                       |  21 ++
 benchtests/logb-inputs                        |  11 +
 benchtests/logbf-inputs                       |  11 +
 sysdeps/ieee754/dbl-64/s_finite.c             |  22 +-
 sysdeps/ieee754/dbl-64/s_isinf.c              |  15 +-
 sysdeps/ieee754/dbl-64/s_isnan.c              |  17 +-
 sysdeps/ieee754/dbl-64/s_logb.c               |  61 ++--
 sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c |  43 ---
 sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c  |  34 --
 sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c  |  40 ---
 sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c   |  47 ---
 sysdeps/powerpc/fpu/e_hypot.c                 |  96 ++----
 sysdeps/powerpc/fpu/fenv_libc.h               |   8 +
 sysdeps/powerpc/fpu/round_to_integer.h        | 154 +++++++++
 sysdeps/powerpc/fpu/s_ceil.c                  |  35 ++
 sysdeps/powerpc/fpu/s_ceilf.c                 |  35 ++
 sysdeps/powerpc/fpu/s_copysign.c              |  32 ++
 sysdeps/powerpc/fpu/s_copysignf.c             |  28 ++
 sysdeps/powerpc/fpu/s_fabs.S                  |  33 --
 sysdeps/powerpc/fpu/s_fabsf.S                 |   1 -
 sysdeps/powerpc/fpu/s_floor.c                 |  35 ++
 sysdeps/powerpc/fpu/s_floorf.c                |  35 ++
 sysdeps/powerpc/fpu/{s_fma.S => s_fma.c}      |  12 +-
 sysdeps/powerpc/fpu/{s_fmaf.S => s_fmaf.c}    |  12 +-
 sysdeps/powerpc/fpu/s_isnan.c                 |  62 ----
 sysdeps/powerpc/fpu/s_isnanf.S                |   1 -
 sysdeps/powerpc/{power7 => }/fpu/s_logb.c     |  64 ++--
 sysdeps/powerpc/{power7 => }/fpu/s_logbf.c    |  44 ++-
 sysdeps/powerpc/{power7 => }/fpu/s_logbl.c    |  47 ++-
 sysdeps/powerpc/fpu/s_lrintf.S                |   1 -
 sysdeps/powerpc/fpu/s_lrintf.c                |   1 +
 sysdeps/powerpc/{power5+ => }/fpu/s_modf.c    |  17 +-
 sysdeps/powerpc/{power5+ => }/fpu/s_modff.c   |  13 +-
 sysdeps/powerpc/fpu/s_nearbyint.c             |  30 ++
 sysdeps/powerpc/fpu/s_nearbyintf.c            |  30 ++
 sysdeps/powerpc/fpu/s_rint.c                  |  19 +-
 sysdeps/powerpc/fpu/s_rintf.c                 |  19 +-
 sysdeps/powerpc/fpu/s_round.c                 |  35 ++
 sysdeps/powerpc/fpu/s_roundf.c                |  35 ++
 sysdeps/powerpc/fpu/s_trunc.c                 |  35 ++
 sysdeps/powerpc/fpu/s_truncf.c                |  35 ++
 sysdeps/powerpc/power4/fpu/Makefile           |   5 -
 sysdeps/powerpc/power4/fpu/mpa-arch.h         |  56 ----
 sysdeps/powerpc/power4/fpu/mpa.c              | 214 -------------
 sysdeps/powerpc/powerpc32/fpu/Makefile        |   7 +
 sysdeps/powerpc/powerpc32/fpu/s_ceil.S        |  76 -----
 sysdeps/powerpc/powerpc32/fpu/s_ceilf.S       |  76 -----
 sysdeps/powerpc/powerpc32/fpu/s_copysign.S    |  53 ---
 sysdeps/powerpc/powerpc32/fpu/s_copysignf.S   |   1 -
 sysdeps/powerpc/powerpc32/fpu/s_floor.S       |  76 -----
 sysdeps/powerpc/powerpc32/fpu/s_floorf.S      |  76 -----
 sysdeps/powerpc/powerpc32/fpu/s_isnan.S       |  57 ----
 sysdeps/powerpc/powerpc32/fpu/s_llrint.c      |   9 +
 sysdeps/powerpc/powerpc32/fpu/s_llrintf.c     |   7 +
 sysdeps/powerpc/powerpc32/fpu/s_llround.c     |  51 ++-
 sysdeps/powerpc/powerpc32/fpu/s_lrint.S       |  40 ---
 sysdeps/powerpc/powerpc32/fpu/s_lrint.c       |  40 +++
 sysdeps/powerpc/powerpc32/fpu/s_lround.S      | 123 -------
 sysdeps/powerpc/powerpc32/fpu/s_lround.c      |  77 +++++
 sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S   |  80 -----
 sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S  |  79 -----
 sysdeps/powerpc/powerpc32/fpu/s_rint.S        |  69 ----
 sysdeps/powerpc/powerpc32/fpu/s_rintf.S       |  66 ----
 sysdeps/powerpc/powerpc32/fpu/s_round.S       |  97 ------
 sysdeps/powerpc/powerpc32/fpu/s_roundf.S      |  96 ------
 sysdeps/powerpc/powerpc32/fpu/s_trunc.S       |  83 -----
 sysdeps/powerpc/powerpc32/fpu/s_truncf.S      |  83 -----
 .../powerpc32/power4/fpu/multiarch/Makefile   |  26 +-
 .../power4/fpu/multiarch/s_ceil-power5+.S     |  33 --
 .../power4/fpu/multiarch/s_ceil-power5+.c     |   3 +
 .../power4/fpu/multiarch/s_ceil-ppc32.S       |  31 --
 .../power4/fpu/multiarch/s_ceil-ppc32.c       |   3 +
 .../power4/fpu/multiarch/s_ceilf-power5+.S    |  26 --
 .../power4/fpu/multiarch/s_ceilf-power5+.c    |   3 +
 .../power4/fpu/multiarch/s_ceilf-ppc32.S      |  27 --
 .../power4/fpu/multiarch/s_ceilf-ppc32.c      |   3 +
 .../power4/fpu/multiarch/s_copysign-power6.S  |  33 --
 .../power4/fpu/multiarch/s_copysign-ppc32.S   |  34 --
 .../power4/fpu/multiarch/s_copysign.c         |  45 ---
 .../power4/fpu/multiarch/s_copysignf.c        |  34 --
 .../power4/fpu/multiarch/s_finite-power7.S    |  33 --
 .../power4/fpu/multiarch/s_finite-ppc32.c     |  33 --
 .../powerpc32/power4/fpu/multiarch/s_finite.c |  57 ----
 .../power4/fpu/multiarch/s_finitef-ppc32.c    |  31 --
 .../power4/fpu/multiarch/s_finitef.c          |  34 --
 .../power4/fpu/multiarch/s_floor-power5+.S    |  33 --
 .../power4/fpu/multiarch/s_floor-power5+.c    |   3 +
 .../power4/fpu/multiarch/s_floor-ppc32.S      |  31 --
 .../power4/fpu/multiarch/s_floor-ppc32.c      |   3 +
 .../power4/fpu/multiarch/s_floorf-power5+.S   |  26 --
 .../power4/fpu/multiarch/s_floorf-power5+.c   |   3 +
 .../power4/fpu/multiarch/s_floorf-ppc32.S     |  27 --
 .../power4/fpu/multiarch/s_floorf-ppc32.c     |   3 +
 .../power4/fpu/multiarch/s_isinf-power7.S     |  33 --
 .../power4/fpu/multiarch/s_isinf-ppc32.c      |  33 --
 .../powerpc32/power4/fpu/multiarch/s_isinf.c  |  50 ---
 .../power4/fpu/multiarch/s_isinff-ppc32.c     |  31 --
 .../powerpc32/power4/fpu/multiarch/s_isinff.c |  35 --
 .../power4/fpu/multiarch/s_isnan-power5.S     |  33 --
 .../power4/fpu/multiarch/s_isnan-power6.S     |  33 --
 .../power4/fpu/multiarch/s_isnan-power7.S     |  33 --
 .../power4/fpu/multiarch/s_isnan-ppc32.S      |  32 --
 .../powerpc32/power4/fpu/multiarch/s_isnan.c  |  56 ----
 .../power4/fpu/multiarch/s_isnanf-power5.S    |  28 --
 .../power4/fpu/multiarch/s_isnanf-power6.S    |  28 --
 .../powerpc32/power4/fpu/multiarch/s_isnanf.c |  39 ---
 .../power4/fpu/multiarch/s_llrint-power6.S    |  31 --
 .../power4/fpu/multiarch/s_llrint-power6.c    |   2 +
 .../power4/fpu/multiarch/s_llrint-ppc32.S     |  31 --
 .../power4/fpu/multiarch/s_llrint-ppc32.c     |   2 +
 .../power4/fpu/multiarch/s_llrintf-power6.S   |  26 --
 .../power4/fpu/multiarch/s_llrintf-power6.c   |   2 +
 .../power4/fpu/multiarch/s_llrintf-ppc32.S    |  26 --
 .../power4/fpu/multiarch/s_llrintf-ppc32.c    |   2 +
 .../power4/fpu/multiarch/s_llround-power5+.S  |  31 --
 .../power4/fpu/multiarch/s_llround-power5+.c  |   2 +
 .../power4/fpu/multiarch/s_llround-power6.S   |  31 --
 .../power4/fpu/multiarch/s_llround-power6.c   |   2 +
 .../power4/fpu/multiarch/s_llround-ppc32.S    |  31 --
 .../power4/fpu/multiarch/s_llround-ppc32.c    |   2 +
 .../power4/fpu/multiarch/s_logb-power7.c      |  13 +-
 .../power4/fpu/multiarch/s_logbf-power7.c     |   8 +-
 .../power4/fpu/multiarch/s_logbl-power7.c     |   3 +-
 .../power4/fpu/multiarch/s_lrint-ppc32.S      |  31 --
 .../power4/fpu/multiarch/s_lrint-ppc32.c      |   2 +
 .../power4/fpu/multiarch/s_lround-power5+.S   |  33 --
 .../power4/fpu/multiarch/s_lround-power5+.c   |   2 +
 .../power4/fpu/multiarch/s_lround-ppc32.S     |  31 --
 .../power4/fpu/multiarch/s_lround-ppc32.c     |   2 +
 .../power4/fpu/multiarch/s_modf-power5+.c     |  13 +-
 .../power4/fpu/multiarch/s_modff-power5+.c    |   9 +-
 .../power4/fpu/multiarch/s_round-power5+.S    |  33 --
 .../power4/fpu/multiarch/s_round-power5+.c    |   3 +
 .../power4/fpu/multiarch/s_round-ppc32.S      |  31 --
 .../power4/fpu/multiarch/s_round-ppc32.c      |   3 +
 .../power4/fpu/multiarch/s_roundf-power5+.S   |  26 --
 .../power4/fpu/multiarch/s_roundf-power5+.c   |   3 +
 .../power4/fpu/multiarch/s_roundf-ppc32.S     |  27 --
 .../power4/fpu/multiarch/s_roundf-ppc32.c     |   3 +
 .../power4/fpu/multiarch/s_trunc-power5+.S    |  33 --
 .../power4/fpu/multiarch/s_trunc-power5+.c    |   3 +
 .../power4/fpu/multiarch/s_trunc-ppc32.S      |  31 --
 .../power4/fpu/multiarch/s_trunc-ppc32.c      |   3 +
 .../power4/fpu/multiarch/s_truncf-power5+.S   |  26 --
 .../power4/fpu/multiarch/s_truncf-power5+.c   |   3 +
 .../power4/fpu/multiarch/s_truncf-ppc32.S     |  27 --
 .../power4/fpu/multiarch/s_truncf-ppc32.c     |   3 +
 .../powerpc/powerpc32/power4/fpu/s_llrint.S   |  39 ---
 .../powerpc/powerpc32/power4/fpu/s_llrintf.S  |  39 ---
 .../powerpc/powerpc32/power4/fpu/s_llround.S  | 105 ------
 .../powerpc/powerpc32/power4/fpu/s_llroundf.S |   1 -
 .../powerpc/powerpc32/power5+/fpu/s_ceil.S    |  29 --
 .../powerpc/powerpc32/power5+/fpu/s_ceilf.S   |  30 --
 .../powerpc/powerpc32/power5+/fpu/s_floor.S   |  29 --
 .../powerpc/powerpc32/power5+/fpu/s_floorf.S  |  30 --
 .../powerpc/powerpc32/power5+/fpu/s_llround.S |  53 ---
 .../powerpc32/power5+/fpu/s_llroundf.S        |   1 -
 .../powerpc/powerpc32/power5+/fpu/s_lround.S  |  51 ---
 .../powerpc/powerpc32/power5+/fpu/s_round.S   |  29 --
 .../powerpc/powerpc32/power5+/fpu/s_roundf.S  |  30 --
 .../powerpc/powerpc32/power5+/fpu/s_trunc.S   |  29 --
 .../powerpc/powerpc32/power5+/fpu/s_truncf.S  |  30 --
 .../powerpc/powerpc32/power5/fpu/s_isnan.S    |  61 ----
 .../powerpc/powerpc32/power5/fpu/s_isnanf.S   |  45 ---
 .../powerpc/powerpc32/power6/fpu/s_copysign.S |  49 ---
 .../powerpc32/power6/fpu/s_copysignf.S        |   1 -
 .../powerpc/powerpc32/power6/fpu/s_isnan.S    |  61 ----
 .../powerpc/powerpc32/power6/fpu/s_isnanf.S   |  44 ---
 .../powerpc/powerpc32/power6/fpu/s_llrint.S   |  39 ---
 .../powerpc/powerpc32/power6/fpu/s_llrintf.S  |  39 ---
 .../powerpc/powerpc32/power6/fpu/s_llround.S  |  53 ---
 .../powerpc/powerpc32/power6/fpu/s_llroundf.S |   1 -
 .../powerpc/powerpc32/power7/fpu/s_finite.S   |  93 ------
 .../powerpc/powerpc32/power7/fpu/s_finitef.S  |   1 -
 .../powerpc/powerpc32/power7/fpu/s_isinf.S    |  85 -----
 .../powerpc/powerpc32/power7/fpu/s_isinff.S   |   1 -
 .../powerpc/powerpc32/power7/fpu/s_isnan.S    |  90 ------
 .../powerpc/powerpc32/power7/fpu/s_isnanf.S   |   1 -
 .../powerpc64/be/fpu/multiarch/Makefile       |  65 ++++
 .../be/fpu/multiarch/s_ceil-power5+.c         |   3 +
 .../powerpc64/be/fpu/multiarch/s_ceil-ppc64.c |   3 +
 .../powerpc64/{ => be}/fpu/multiarch/s_ceil.c |   4 +-
 .../be/fpu/multiarch/s_ceilf-power5+.c        |   3 +
 .../be/fpu/multiarch/s_ceilf-ppc64.c          |   3 +
 .../{ => be}/fpu/multiarch/s_ceilf.c          |   4 +-
 .../be/fpu/multiarch/s_floor-power5+.c        |   3 +
 .../be/fpu/multiarch/s_floor-ppc64.c          |   3 +
 .../{ => be}/fpu/multiarch/s_floor.c          |   0
 .../be/fpu/multiarch/s_floorf-power5+.c       |   3 +
 .../be/fpu/multiarch/s_floorf-ppc64.c         |   3 +
 .../{ => be}/fpu/multiarch/s_floorf.c         |   0
 .../be/fpu/multiarch/s_llrint-power6x.c       |   2 +
 .../be/fpu/multiarch/s_llrint-power8.c        |   2 +
 .../be/fpu/multiarch/s_llrint-ppc64.c         |   2 +
 .../{ => be}/fpu/multiarch/s_llrint.c         |   0
 .../{ => be}/fpu/multiarch/s_llrintf.c        |   0
 .../be/fpu/multiarch/s_llround-power5+.c      |   2 +
 .../be/fpu/multiarch/s_llround-power6x.c      |   2 +
 .../be/fpu/multiarch/s_llround-power8.c       |   2 +
 .../be/fpu/multiarch/s_llround-ppc64.c        |   2 +
 .../{ => be}/fpu/multiarch/s_llround.c        |   0
 .../be/fpu/multiarch/s_llroundf-ppc64.c       |   2 +
 .../{ => be}/fpu/multiarch/s_llroundf.c       |   0
 .../{ => be}/fpu/multiarch/s_logb-power7.c    |   3 +-
 .../{ => be}/fpu/multiarch/s_logb-ppc64.c     |   0
 .../powerpc64/{ => be}/fpu/multiarch/s_logb.c |   0
 .../{ => be}/fpu/multiarch/s_logbf-power7.c   |   3 +-
 .../{ => be}/fpu/multiarch/s_logbf-ppc64.c    |   0
 .../{ => be}/fpu/multiarch/s_logbf.c          |   0
 .../{ => be}/fpu/multiarch/s_logbl-power7.c   |   3 +-
 .../{ => be}/fpu/multiarch/s_logbl-ppc64.c    |   0
 .../{ => be}/fpu/multiarch/s_logbl.c          |   0
 .../{ => be}/fpu/multiarch/s_lrint.c          |   0
 .../{ => be}/fpu/multiarch/s_lround.c         |   0
 .../{ => be}/fpu/multiarch/s_modf-power5+.c   |   3 +-
 .../{ => be}/fpu/multiarch/s_modf-ppc64.c     |   0
 .../powerpc64/{ => be}/fpu/multiarch/s_modf.c |   0
 .../{ => be}/fpu/multiarch/s_modff-power5+.c  |   3 +-
 .../{ => be}/fpu/multiarch/s_modff-ppc64.c    |   0
 .../{ => be}/fpu/multiarch/s_modff.c          |   0
 .../be/fpu/multiarch/s_round-power5+.c        |   3 +
 .../be/fpu/multiarch/s_round-ppc64.c          |   3 +
 .../{ => be}/fpu/multiarch/s_round.c          |   0
 .../be/fpu/multiarch/s_roundf-power5+.c       |   3 +
 .../be/fpu/multiarch/s_roundf-ppc64.c         |   3 +
 .../{ => be}/fpu/multiarch/s_roundf.c         |   2 -
 .../be/fpu/multiarch/s_trunc-power5+.c        |   3 +
 .../be/fpu/multiarch/s_trunc-ppc64.c          |   3 +
 .../{ => be}/fpu/multiarch/s_trunc.c          |   0
 .../be/fpu/multiarch/s_truncf-power5+.c       |   3 +
 .../be/fpu/multiarch/s_truncf-ppc64.c         |   3 +
 .../{ => be}/fpu/multiarch/s_truncf.c         |   2 -
 sysdeps/powerpc/powerpc64/fpu/Makefile        |   7 +
 .../powerpc/powerpc64/fpu/multiarch/Makefile  |  44 ---
 .../powerpc64/fpu/multiarch/e_expf-power8.S   |  24 --
 .../powerpc64/fpu/multiarch/e_expf-ppc64.c    |  21 --
 .../powerpc/powerpc64/fpu/multiarch/e_expf.c  |  32 --
 .../powerpc64/fpu/multiarch/e_hypot-power7.c  |  19 --
 .../powerpc64/fpu/multiarch/e_hypot-ppc64.c   |  26 --
 .../powerpc/powerpc64/fpu/multiarch/e_hypot.c |  33 --
 .../powerpc64/fpu/multiarch/e_hypotf-power7.c |  19 --
 .../powerpc64/fpu/multiarch/e_hypotf-ppc64.c  |  26 --
 .../powerpc64/fpu/multiarch/e_hypotf.c        |  33 --
 .../powerpc64/fpu/multiarch/s_ceil-power5+.S  |  30 --
 .../powerpc64/fpu/multiarch/s_ceil-ppc64.S    |  30 --
 .../powerpc64/fpu/multiarch/s_ceilf-power5+.S |  24 --
 .../powerpc64/fpu/multiarch/s_ceilf-ppc64.S   |  24 --
 .../fpu/multiarch/s_copysign-power6.S         |  32 --
 .../fpu/multiarch/s_copysign-ppc64.S          |  34 --
 .../powerpc64/fpu/multiarch/s_copysign.c      |  45 ---
 .../powerpc64/fpu/multiarch/s_copysignf.c     |  34 --
 .../powerpc64/fpu/multiarch/s_finite-power7.S |  32 --
 .../powerpc64/fpu/multiarch/s_finite-power8.S |  32 --
 .../powerpc64/fpu/multiarch/s_finite-ppc64.c  |  34 --
 .../powerpc64/fpu/multiarch/s_finite.c        |  69 ----
 .../powerpc64/fpu/multiarch/s_finitef-ppc64.c |  32 --
 .../powerpc64/fpu/multiarch/s_finitef.c       |  37 ---
 .../powerpc64/fpu/multiarch/s_floor-power5+.S |  30 --
 .../powerpc64/fpu/multiarch/s_floor-ppc64.S   |  30 --
 .../fpu/multiarch/s_floorf-power5+.S          |  24 --
 .../powerpc64/fpu/multiarch/s_floorf-ppc64.S  |  24 --
 .../powerpc64/fpu/multiarch/s_isinf-power7.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isinf-power8.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isinf-ppc64.c   |  33 --
 .../powerpc/powerpc64/fpu/multiarch/s_isinf.c |  62 ----
 .../powerpc64/fpu/multiarch/s_isinff-ppc64.c  |  31 --
 .../powerpc64/fpu/multiarch/s_isinff.c        |  38 ---
 .../powerpc64/fpu/multiarch/s_isnan-power5.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isnan-power6.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isnan-power6x.S |  32 --
 .../powerpc64/fpu/multiarch/s_isnan-power7.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isnan-power8.S  |  32 --
 .../powerpc64/fpu/multiarch/s_isnan-ppc64.S   |  36 ---
 .../powerpc/powerpc64/fpu/multiarch/s_isnan.c |  71 ----
 .../powerpc64/fpu/multiarch/s_isnanf.c        |  44 ---
 .../fpu/multiarch/s_llrint-power6x.S          |  30 --
 .../powerpc64/fpu/multiarch/s_llrint-power8.S |  30 --
 .../powerpc64/fpu/multiarch/s_llrint-ppc64.S  |  30 --
 .../fpu/multiarch/s_llround-power5+.S         |  31 --
 .../fpu/multiarch/s_llround-power6x.S         |  31 --
 .../fpu/multiarch/s_llround-power8.S          |  30 --
 .../powerpc64/fpu/multiarch/s_llround-ppc64.S |  27 --
 .../fpu/multiarch/s_llroundf-ppc64.S          |  31 --
 .../powerpc64/fpu/multiarch/s_round-power5+.S |  30 --
 .../powerpc64/fpu/multiarch/s_round-ppc64.S   |  30 --
 .../fpu/multiarch/s_roundf-power5+.S          |  24 --
 .../powerpc64/fpu/multiarch/s_roundf-ppc64.S  |  24 --
 .../powerpc64/fpu/multiarch/s_trunc-power5+.S |  30 --
 .../powerpc64/fpu/multiarch/s_trunc-ppc64.S   |  30 --
 .../fpu/multiarch/s_truncf-power5+.S          |  24 --
 .../powerpc64/fpu/multiarch/s_truncf-ppc64.S  |  24 --
 .../powerpc/powerpc64/fpu/multiarch/w_expf.c  |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_ceil.S        |  65 ----
 sysdeps/powerpc/powerpc64/fpu/s_ceilf.S       |  67 ----
 sysdeps/powerpc/powerpc64/fpu/s_copysign.S    |  53 ---
 sysdeps/powerpc/powerpc64/fpu/s_copysignf.S   |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_floor.S       |  65 ----
 sysdeps/powerpc/powerpc64/fpu/s_floorf.S      |  67 ----
 sysdeps/powerpc/powerpc64/fpu/s_isnan.S       |  56 ----
 sysdeps/powerpc/powerpc64/fpu/s_llrint.S      |  45 ---
 sysdeps/powerpc/powerpc64/fpu/s_llrint.c      |  55 ++++
 sysdeps/powerpc/powerpc64/fpu/s_llrintf.S     |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_llrintf.c     |   1 +
 sysdeps/powerpc/powerpc64/fpu/s_llround.S     |  86 -----
 sysdeps/powerpc/powerpc64/fpu/s_llround.c     |  83 +++++
 sysdeps/powerpc/powerpc64/fpu/s_llroundf.S    |  89 -----
 sysdeps/powerpc/powerpc64/fpu/s_llroundf.c    |  83 +++++
 sysdeps/powerpc/powerpc64/fpu/s_lrint.S       |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_lrint.c       |   1 +
 sysdeps/powerpc/powerpc64/fpu/s_lround.S      |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_lround.c      |   1 +
 sysdeps/powerpc/powerpc64/fpu/s_lroundf.S     |   1 -
 sysdeps/powerpc/powerpc64/fpu/s_lroundf.c     |   1 +
 sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S   |  68 ----
 sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S  |  69 ----
 sysdeps/powerpc/powerpc64/fpu/s_rint.S        |  58 ----
 sysdeps/powerpc/powerpc64/fpu/s_rintf.S       |  57 ----
 sysdeps/powerpc/powerpc64/fpu/s_round.S       |  80 -----
 sysdeps/powerpc/powerpc64/fpu/s_roundf.S      |  82 -----
 sysdeps/powerpc/powerpc64/fpu/s_trunc.S       |  72 -----
 sysdeps/powerpc/powerpc64/fpu/s_truncf.S      |  74 -----
 .../powerpc/powerpc64/power5+/fpu/s_ceil.S    |  30 --
 .../powerpc/powerpc64/power5+/fpu/s_ceilf.S   |  31 --
 .../powerpc/powerpc64/power5+/fpu/s_floor.S   |  30 --
 .../powerpc/powerpc64/power5+/fpu/s_floorf.S  |  31 --
 .../powerpc/powerpc64/power5+/fpu/s_llround.S |  56 ----
 .../powerpc64/power5+/fpu/s_llroundf.S        |   1 -
 .../powerpc/powerpc64/power5+/fpu/s_round.S   |  30 --
 .../powerpc/powerpc64/power5+/fpu/s_roundf.S  |  31 --
 .../powerpc/powerpc64/power5+/fpu/s_trunc.S   |  30 --
 .../powerpc/powerpc64/power5+/fpu/s_truncf.S  |  31 --
 .../powerpc/powerpc64/power5/fpu/s_isnan.S    |  60 ----
 .../powerpc/powerpc64/power6/fpu/s_copysign.S |  49 ---
 .../powerpc64/power6/fpu/s_copysignf.S        |   1 -
 .../powerpc/powerpc64/power6/fpu/s_isnan.S    |  59 ----
 .../powerpc/powerpc64/power6x/fpu/s_isnan.S   |  58 ----
 .../powerpc/powerpc64/power6x/fpu/s_llrint.S  |  42 ---
 .../powerpc/powerpc64/power6x/fpu/s_llround.S |  52 ---
 .../powerpc64/power6x/fpu/s_llroundf.S        |   1 -
 .../powerpc/powerpc64/power7/fpu/s_finite.S   |  70 ----
 .../powerpc/powerpc64/power7/fpu/s_finitef.S  |   1 -
 .../powerpc/powerpc64/power7/fpu/s_isinf.S    |  69 ----
 .../powerpc/powerpc64/power7/fpu/s_isinff.S   |   1 -
 .../powerpc/powerpc64/power7/fpu/s_isnan.S    |  68 ----
 .../powerpc/powerpc64/power7/fpu/s_isnanf.S   |   1 -
 sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c |   1 -
 .../powerpc/powerpc64/power7/fpu/s_logbf.c    |   1 -
 .../powerpc/powerpc64/power7/fpu/s_logbl.c    |   1 -
 sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S | 303 ------------------
 .../powerpc/powerpc64/power8/fpu/s_finite.S   |  56 ----
 .../powerpc/powerpc64/power8/fpu/s_finitef.S  |   1 -
 .../powerpc/powerpc64/power8/fpu/s_isinf.S    |  61 ----
 .../powerpc/powerpc64/power8/fpu/s_isinff.S   |   1 -
 .../powerpc/powerpc64/power8/fpu/s_isnan.S    |  56 ----
 .../powerpc/powerpc64/power8/fpu/s_isnanf.S   |   1 -
 .../powerpc/powerpc64/power8/fpu/s_llrint.S   |  43 ---
 .../powerpc/powerpc64/power8/fpu/s_llround.S  |  46 ---
 .../powerpc/powerpc64/power8/fpu/s_llroundf.S |   1 -
 sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c |   1 -
 363 files changed, 1494 insertions(+), 9311 deletions(-)
 create mode 100644 benchtests/hypot-inputs
 create mode 100644 benchtests/isfinite-inputs
 create mode 100644 benchtests/isinf-inputs
 create mode 100644 benchtests/isnan-inputs
 create mode 100644 benchtests/logb-inputs
 create mode 100644 benchtests/logbf-inputs
 delete mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
 delete mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c
 delete mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c
 delete mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c
 create mode 100644 sysdeps/powerpc/fpu/round_to_integer.h
 create mode 100644 sysdeps/powerpc/fpu/s_ceil.c
 create mode 100644 sysdeps/powerpc/fpu/s_ceilf.c
 create mode 100644 sysdeps/powerpc/fpu/s_copysign.c
 create mode 100644 sysdeps/powerpc/fpu/s_copysignf.c
 delete mode 100644 sysdeps/powerpc/fpu/s_fabs.S
 delete mode 100644 sysdeps/powerpc/fpu/s_fabsf.S
 create mode 100644 sysdeps/powerpc/fpu/s_floor.c
 create mode 100644 sysdeps/powerpc/fpu/s_floorf.c
 rename sysdeps/powerpc/fpu/{s_fma.S => s_fma.c} (82%)
 rename sysdeps/powerpc/fpu/{s_fmaf.S => s_fmaf.c} (82%)
 delete mode 100644 sysdeps/powerpc/fpu/s_isnan.c
 delete mode 100644 sysdeps/powerpc/fpu/s_isnanf.S
 rename sysdeps/powerpc/{power7 => }/fpu/s_logb.c (56%)
 rename sysdeps/powerpc/{power7 => }/fpu/s_logbf.c (67%)
 rename sysdeps/powerpc/{power7 => }/fpu/s_logbl.c (72%)
 delete mode 100644 sysdeps/powerpc/fpu/s_lrintf.S
 create mode 100644 sysdeps/powerpc/fpu/s_lrintf.c
 rename sysdeps/powerpc/{power5+ => }/fpu/s_modf.c (74%)
 rename sysdeps/powerpc/{power5+ => }/fpu/s_modff.c (77%)
 create mode 100644 sysdeps/powerpc/fpu/s_nearbyint.c
 create mode 100644 sysdeps/powerpc/fpu/s_nearbyintf.c
 create mode 100644 sysdeps/powerpc/fpu/s_round.c
 create mode 100644 sysdeps/powerpc/fpu/s_roundf.c
 create mode 100644 sysdeps/powerpc/fpu/s_trunc.c
 create mode 100644 sysdeps/powerpc/fpu/s_truncf.c
 delete mode 100644 sysdeps/powerpc/power4/fpu/Makefile
 delete mode 100644 sysdeps/powerpc/power4/fpu/mpa-arch.h
 delete mode 100644 sysdeps/powerpc/power4/fpu/mpa.c
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_ceil.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_ceilf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_copysign.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_copysignf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_floor.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_floorf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_lrint.S
 create mode 100644 sysdeps/powerpc/powerpc32/fpu/s_lrint.c
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_lround.S
 create mode 100644 sysdeps/powerpc/powerpc32/fpu/s_lround.c
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_rint.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_rintf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_round.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_roundf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_trunc.S
 delete mode 100644 sysdeps/powerpc/powerpc32/fpu/s_truncf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S
 create mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.c
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_ceil.c (95%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_ceilf.c (95%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_floor.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_floorf.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_llrint.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_llrintf.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_llround.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_llroundf.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logb-power7.c (91%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logb-ppc64.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logb.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbf-power7.c (91%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbf-ppc64.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbf.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbl-power7.c (91%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbl-ppc64.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_logbl.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_lrint.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_lround.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modf-power5+.c (91%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modf-ppc64.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modf.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modff-power5+.c (91%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modff-ppc64.c (100%)
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_modff.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_round.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_roundf.c (95%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_trunc.c (100%)
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf-power5+.c
 create mode 100644 sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf-ppc64.c
 rename sysdeps/powerpc/powerpc64/{ => be}/fpu/multiarch/s_truncf.c (95%)
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/Makefile
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_ceil.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_ceilf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_copysign.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_copysignf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_floor.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_floorf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llrint.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llrint.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llrintf.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llrintf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llround.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llround.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llroundf.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_llroundf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lrint.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lrint.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lround.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lround.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lroundf.S
 create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lroundf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_rint.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_rintf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_round.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_roundf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_trunc.S
 delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_truncf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c
 delete mode 100644 sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S
 delete mode 100644 sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c

-- 
2.17.1