m68k: Remove mathinline.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Mar 2020 18:58:45 +0000 (15:58 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 19 Mar 2020 14:45:44 +0000 (11:45 -0300)
commit4bad2e014e5e2a835cca6139b5e5a0f42ed0ea05
tree78ee7dcfdbdf9458904e34a0fbc31f0c40f900ed
parent649fdf039b1572fca1880a6a643c857bde505456
m68k: Remove mathinline.h

This is similar to x86 (da75c1b180f9355a) and powerpc (32ea72999693b98e)
mathinline.h removal.  The required macros to build the fpu routines
are moved to mathimpl.h, while the inline optimization macros for
atan, tanh, rint, log1p, significand, trunc, floor, ceil, isinf,
finite, scalbn, isnan, scalbln, nearbyint, lrint, and sincos are removed.

The gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94204 was
created to track builtin support.

Checked with a build against m68k-linux-gnu, resulting binaries
are similar with and without the patch.
15 files changed:
sysdeps/m68k/m680x0/fpu/bits/mathinline.h [deleted file]
sysdeps/m68k/m680x0/fpu/mathimpl.h
sysdeps/m68k/m680x0/fpu/s_atan_template.c
sysdeps/m68k/m680x0/fpu/s_ceil_template.c
sysdeps/m68k/m680x0/fpu/s_fabs_template.c
sysdeps/m68k/m680x0/fpu/s_floor_template.c
sysdeps/m68k/m680x0/fpu/s_isinf.c
sysdeps/m68k/m680x0/fpu/s_log1p.c
sysdeps/m68k/m680x0/fpu/s_lrint_template.c
sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c
sysdeps/m68k/m680x0/fpu/s_rint_template.c
sysdeps/m68k/m680x0/fpu/s_scalbn.c
sysdeps/m68k/m680x0/fpu/s_sincos_template.c
sysdeps/m68k/m680x0/fpu/s_tanh_template.c
sysdeps/m68k/m680x0/fpu/s_trunc_template.c