joerg
50850b07af
Hook complex operation support into libm when not using libgcc.
2013-10-15 23:59:36 +00:00
joerg
3657cb7f1d
Update LLVM/Clang snapshot to r191105. This brings in a better detection
...
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
joerg
4d12bfcd15
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
...
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
martin
4d09747fe0
s_nexttoward.c does not make sense compiling for 32 bit sparc (double ==
...
long double), so ifdef it out in the sparc64 compat library build. I hope
the nextafter alias is set up correctly (where?) - and someone please
suggest a better way for this if clause.
2013-08-22 08:24:30 +00:00
martin
cf61cf5c2c
Add nexttoward, nearbyint and rintl for sparc64
2013-08-21 13:06:00 +00:00
martin
317c06397c
Add support for the long double format used on sparc64
2013-08-21 13:04:44 +00:00
martin
24488e4c56
Add support for archs with LDBL_IMPLICIT_NBIT
2013-08-21 13:03:56 +00:00
matt
f28360367c
If __HAVE_LONG_DOUBLE is not defined,
...
add a strong alias for nextafterl to nextafter
2013-07-18 22:32:53 +00:00
matt
6bcb6c9e28
Only compile is __HAVE_LONG_DOUBLE is defined
2013-07-18 22:31:13 +00:00
christos
5101b66eab
Add missing .go and fix lint rule.
2013-06-20 19:49:47 +00:00
riastradh
5cb75bff7e
Fix amd64 feraiseexcept so that it actually traps.
...
The call to fwait got lost somewhere along the line; the i387 code
has it.
XXX pullup to 6
2013-05-29 02:27:39 +00:00
riastradh
0eddede86f
Fix sense of fegetexcept on x86.
...
Somehow I overlooked this when I fixed feenableexcept and
fedisableexcept last summer.
XXX pullup to 6
2013-05-29 00:53:19 +00:00
martin
56f02cd141
Fix POLYD/Mariah fallout and include the scalbn sources (which do not
...
use polyd).
Fix global names and weak aliases.
2013-05-24 12:45:40 +00:00
mlelstv
bec369833b
Correctly alias the ldexp* functions to the scalbn equivalents
...
that take an int argument.
2013-05-20 20:27:43 +00:00
joerg
65098ec1a4
Fix ldexp aliases.
2013-05-20 19:40:09 +00:00
mlelstv
d896c3b677
Use correct alias for scalbn(). Tested by martin@.
2013-05-20 15:13:36 +00:00
martin
6883e0df33
Try to fix bogus underflow test (obvious copy & pasto) - someone please
...
review to make sure I got it right.
This fixes PR 47834.
2013-05-19 20:50:02 +00:00
matt
8f0edf9e8a
Fix feclearexcept return value (should be 0).
2013-05-01 04:04:54 +00:00
matt
745c75b88e
Use MKSOFTFLOAT = no for including arm hardfloat files.
...
When arm and MKSOFTFLOAT = yes, make explicit dependency to .c files
so .S won't be used.
2013-05-01 04:04:31 +00:00
joerg
56cae1058e
Provide scalbln weak alias. Fix argument order for STRONG_ALIAS.
...
Expect WEAK_ALIAS and STRONG_ALIAS to exist.
2013-04-30 21:55:31 +00:00
matt
194fd46747
Make this compile for earmhf
2013-04-30 01:45:13 +00:00
matt
bc08020c0d
Add a C99 <fenv.h> implementation for arm.
2013-04-28 21:06:34 +00:00
joerg
c13cb064fe
Drop s_scalbnl.c (and s_scalbln.S as side effect) and provide scalbnl in
...
s_scalbln.c.
2013-04-28 14:46:14 +00:00
joerg
560a52b9a0
Retire ldexp sources. scalbn has the aliases.
2013-04-27 22:58:15 +00:00
joerg
bc802c017d
Add a dummy s_scalbln.S to avoid the generic implementations of scalbln
...
and co on i386 and amd64. They are implemented next to scalbn and co.
2013-04-27 18:44:39 +00:00
joerg
877d9fe29e
Add aliases to scalbn* as ldexp*, they are identical for FLT_RADIX=2.
2013-04-27 18:43:25 +00:00
joerg
5204c9072e
Add aliases for scalbn* to ldexp, they are identical for FLT_RADIX=2.
2013-04-27 18:39:28 +00:00
joerg
d816b4de58
Use the correct register on AMD64 for the argument.
2013-04-27 18:36:41 +00:00
joerg
c3a587caac
Move scalbnl back to s_scalbln.c to match the assembler implementations.
2013-04-27 17:20:36 +00:00
joerg
a3f958023b
Casting is a not a valid way to check for overflow, so be explicit and
...
use the limit macros.
2013-04-27 17:19:47 +00:00
joerg
4dfc9ad094
Use namespace.h. Don't redefine scalblnl on 64bit platforms.
2013-04-27 16:43:13 +00:00
njoly
1a8ac39140
Kill some extra backslashes.
2013-04-26 18:18:22 +00:00
uebayasi
bad3256eeb
Pass a real file as MLINKS target; fix unnecessary (re)install.
2013-04-06 12:16:49 +00:00
njoly
0f84e47820
Remove unknown .LP macro.
2013-03-14 19:15:34 +00:00
matt
e443b7748e
Remove .fpu since it's not needed
2013-02-14 09:27:26 +00:00
matt
0748121219
Use right macro for __strong_alias
2013-02-14 09:24:50 +00:00
matt
5d4ceff81f
Define a strong alias, not a weak one
2013-02-14 09:23:40 +00:00
matt
b25c1339c3
Deal with an implicit NBIT
2013-02-14 08:56:56 +00:00
martin
905b216648
Use __HAVE_LONG_DOUBLE instead of EXT_EXPBITS and include s_nextafterl.c
...
as well as s_frexpl.c in the global list of "common" sources - as we
seem to have no arch redefining the standard double variant, it seems
unlikely we will have on redefining the long double version in assembler.
2013-02-12 21:40:18 +00:00
martin
1bdd60c0cc
Use __weak_alias instead of __weak_reference (obvious pasto)
2013-02-12 08:21:48 +00:00
matt
0d613952ce
Fix the strong alias correctly this time.
2013-02-12 02:52:13 +00:00
matt
9aeffda480
any arch that has fenv.[ch] can have fma as well (since fma uses fenv).
2013-02-11 17:55:01 +00:00
matt
04ec087c22
Add fma/fmaf/fmal for arm hard float which uses the VFP vmla instruction.
2013-02-11 17:41:13 +00:00
matt
6567e38835
Add VFP versions of lrint/lrintf/lrintl for earmhf*
2013-02-11 12:43:03 +00:00
matt
bec7d6b6c4
Fix strong_alias
2013-02-11 04:57:22 +00:00
christos
e2402e5654
use __HAVE_LONG_DOUBLE
2013-02-11 02:45:27 +00:00
christos
3884ecde09
provide ldexpl
2013-02-11 02:45:15 +00:00
christos
be32181245
add more functions required by fma
2013-02-11 01:47:04 +00:00
christos
2ee19bcb19
more stuff from FreeBSD
2013-02-11 01:38:10 +00:00
christos
e3f9b211a9
hook fma to the build
2013-02-11 01:29:58 +00:00