Commit Graph

195 Commits

Author SHA1 Message Date
he 0cac3e13d5 The sparc port needs s_nearbyint.c as well. 2017-07-27 10:03:10 +00:00
he 4ae65f06c5 Non-softfloat m68k needs s_rintl.c. 2017-07-27 07:01:58 +00:00
he 07051e2f14 Add s_nearbyint.c to alpha, ia64, riscv, mips, powerpc, and sh3 ports. 2017-07-26 09:53:09 +00:00
he e07b573bf9 Add some blank lines to separate the different CPU archs,
for a minimal readability improvement.
2017-07-26 09:42:12 +00:00
christos 464b32545a Replace our rounding functions with the ones from FreeBSD 2017-05-06 18:03:24 +00:00
chs de7c5b7203 sun2 just has to be different, of course.
it doesn't use the libc softfloat and thus doesn't set MKSOFTFLOAT=yes.
enable the fenv functions here explicitly for now.
2017-03-23 18:26:03 +00:00
chs 7e30e94394 provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
2017-03-22 23:11:07 +00:00
scole e3edf3b621 Add fenv for ia64, imported from FreeBSD, compile tested only. 2017-02-23 02:05:30 +00:00
christos 5398e0956f more stuff needs -mfpu=vfp 2016-12-08 18:42:01 +00:00
christos 122a9a6480 deal with namespace issues and missing atanhf for vax. 2016-09-21 14:11:40 +00:00
jakllsch 6b848d5cfa Actually get fma(3) and friends into ARM libm. 2016-09-07 14:41:33 +00:00
christos 394a54cbfc skip buggy assembly for libm_g.a 2016-08-27 09:15:44 +00:00
christos a3fc1936b1 fix double merge. 2016-08-26 08:33:48 +00:00
christos 048f5b6f16 do the FENV test consistently 2016-08-26 08:31:17 +00:00
christos 92e958de60 more fenv for sh 2016-08-25 12:15:28 +00:00
christos 5b36f996f3 fix ilogb* 2016-08-24 10:03:32 +00:00
christos 96936a322e add ilogb. 2016-08-24 09:10:57 +00:00
christos efaac31f0f fenv.h for alpha 2016-08-23 10:00:15 +00:00
martin a13d81e5df No fenv for m68k with SOFTFLOAT for now - so at least it builds. 2016-03-30 07:44:06 +00:00
nros 71f379ad51 Added ldexpl to ldexp manpage since it is missing.
Also added ldexpf manpage link since it is missing.
2016-03-17 18:29:58 +00:00
nros cf57e34dd1 Add fabsl to the manpage describing the fabs functions. 2016-03-17 00:00:44 +00:00
christos 420437aa3e Add sqrtl 2015-12-29 16:57:35 +00:00
christos 63aea4bd5b Add mips fenv.c (From FreeBSD) 2015-12-21 17:02:02 +00:00
christos 161588a5e8 Powerpc fenv.c from FreeBSD 2015-12-20 16:24:25 +00:00
nros 33961e7b90 Add manpage to the fma function in libm.
The manpage is taken from the FreeBSD project since the fma implementation is
based on the one in FreeBSD.
2015-12-12 19:05:45 +00:00
he 3c48f5cbbf Add entry for nexttowardf(3) and a link for the function name.
Bump manual page date.
2015-09-13 10:58:30 +00:00
he a9e1b0780a Add entries for rintl(3) and the nearbyint functions, and
make manual page links to the new functions.
Bump manual page date.
2015-09-13 09:46:30 +00:00
martin dce8d6f504 fenv(3) support for hppa 2014-12-27 16:54:02 +00:00
christos 5f285f6d25 PR/49399: Henning Petersen: Add man pages for erfl and erfcl 2014-11-17 16:53:23 +00:00
matt 9fd2283a99 Add RISC-V MD bits. 2014-09-19 17:42:44 +00:00
christos 61598576c4 Adding extra dependencies does not affect the inference rule search anymore.
XXX[1]: should that be the case?
Simplify the code anyway via selective path search.
XXX[2]: Split arch portions to arch specific files, this is a mess
2014-08-26 11:48:20 +00:00
mrg 6cdb313ef0 revert parts of 1.163 that affect the x86 build.
possibly, we want to build the i386 fenv.c for compat build, but they
seem largely compatible and for now, just go back to what we had before
that wasn't breaking the build or generating bug reports.
2014-08-11 08:20:57 +00:00
matt 11614bb2b2 MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:25:49 +00:00
joerg b32c7c5ab8 Add -mfpu=vfp for fenv.c, since it gets those instructions from
machdep/armreg.h
2014-08-10 20:48:34 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
joerg 13b8fa7d71 Add modfl(3). From FreeBSD. 2014-06-16 12:54:42 +00:00
martin 3313ae3d61 Re-enable alpha IEEE compiler options 2014-05-18 10:47:03 +00:00
martin fb80a335f8 Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
martin 511cd1dbe5 Tune COPTS for alpha 2014-04-28 08:46:35 +00:00
christos ff9eccbdec add -g to LINTFLAGS 2014-04-01 19:12:37 +00:00
martin ed95e9602b Include new/missing files for vax 2014-03-06 11:01:16 +00:00
joerg 720b2586bd Include compiler-rt in libc, libm and libkern. 2014-01-29 23:37:18 +00:00
skrll eed4dff2e8 Add various functions which need fenv support to arm. 2014-01-18 17:20:36 +00:00
martin e37a907951 Try to fix the build (again): move e_sqrtl.c to common soure, but
move the include of fenv.h into the #ifdef __HAVE_LONG_DOUBLE block
and also provide a -DHAVE_FENV_H from the makefile for archs that have
it - leaving out exception settings on architectures that do not provide
it.
2013-11-22 13:37:24 +00:00
martin d2eda6d998 e_sqrtl.c requires fenv.h, so only build it on platfomrs supporting that 2013-11-21 11:21:54 +00:00
joerg f63f9867dd Add cbrtl(3) and sqrtl(3), from FreeBSD. 2013-11-19 19:24:33 +00:00
joerg bc2f32b2d9 truncl(3) 2013-11-13 22:09:55 +00:00
joerg cbc2f8caeb Add FreeBSD's truncl and minimal testing. 2013-11-13 12:58:11 +00:00
joerg 06b4b3a613 Add some fake long double -> double wrappers for various transcendental
functions. They are expected to be implement properly at a later time.
2013-11-12 17:36:14 +00:00
joerg d0d4402155 Initial version of fmodl from FreeBSD.
Basic test case for the fmod family.
2013-11-12 16:48:39 +00:00