summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/i386 (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove rfork(); ok guenther miodderaadt2012-04-121-39/+0
|
* Mark outermost frame such that backtraces in thread terminate atkettenis2012-04-111-2/+3
| | | | | | __tfork_thread(). ok guenther@
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+122
| | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@
* Remove assembly version of strlen from i386 and amd64, where it'smikeb2012-01-173-26/+6
| | | | | | | up to 3 times slower than the C code most of the time. This was brought up by DragonflyBSD guys initially. ok deraadt, guenther. miod will not miss it.
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-083-3/+110
| | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
* Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2011-07-083-110/+3
| | | | them in libc for a very long time. OK guenther@.
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-042-5/+9
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* more rcsid/sccs cleanupderaadt2009-10-288-40/+0
|
* fix rcs ids. ok sthen@martynas2009-06-211-1/+1
|
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-2/+2
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-191-2/+2
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* these were not neededmartynas2008-12-091-2/+1
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+2
|
* - add long double signbitmartynas2008-12-096-6/+38
| | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-0710-1/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-244-99/+12
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* "boundries" -> "boundaries" in various comments. Started by Diego Casati.krw2007-05-252-4/+4
|
* Properly terminate ENTRY with a semicolon, required for asm profiling.drahn2006-04-241-3/+3
| | | | ok miod, espie
* if we pull in a .S file, we must fake out the lint with a .c filederaadt2005-11-291-1/+3
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* zap rcsid, tested there. okay deraadt@espie2005-08-0752-259/+51
|
* Fix typo in comment (_setjmp -> setjmp)hshoexer2005-04-011-2/+2
| | | | ok deraadt
* Change wording of APIWARNs to match arch-independent code.kettenis2005-03-252-4/+4
| | | | ok deraadt@
* Fix APIWARNs.kettenis2005-03-252-6/+6
| | | | ok deraadt@
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-012-77/+2
| | | | | | no need to have a copy for each platform with ieee floating point, only vax needs a special version (which probably has similar bugs). OK and with help from otto@
* fix typo in commenthshoexer2004-10-291-2/+2
| | | | jolan@ tdeval@ pvalchev@ jaredy@
* Use _ENTRY(CERROR) instead of CERROR so correct type info is generated.drahn2004-06-211-2/+2
| | | | ok marc@
* warn about unsafe APIs at link time. Conditional on libc/Makefile definingderaadt2003-07-242-2/+16
| | | | | APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
* proto repairsderaadt2003-07-151-1/+3
|
* pull in headersderaadt2003-06-253-6/+9
|
* oopsderaadt2003-06-112-12/+2
|
* ansification; checked by pvalderaadt2003-06-112-2/+12
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0234-208/+72
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ELF fixups, ELF PIC syscall support, asm changes as requested by assembler.drahn2003-04-1712-35/+84
|
* Rename curbrk to __curbrk on i386 to avoid namespace pollution.art2002-10-062-12/+12
|
* Rename cerror to __cerror on i386 to avoid namespace pollution.art2002-10-068-23/+23
|
* offload the arguments from the stack before performingmickey2002-07-081-9/+7
| | | | | | the copying, initial idea is from freebsd (not fully implemented there, apparently). this also makes bcopy/memcpy a tiny little bit faster.
* no more _NO_WEAK_ALIASES here.fgsch2002-06-101-18/+1
|
* We need to keep K&R compat macros for some ports where the assemnbler ismillert2002-02-191-1/+18
| | | | still using -traditional-cpp.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-18/+1
|
* rfork() needs a fork.S-like stub as well; ok artderaadt2002-02-171-0/+47
|
* use _C_LABELmickey2001-11-012-10/+10
|
* Add PSEUDO_NOERROR similar to that used by NetBSD.millert2001-09-201-10/+23
| | | | | | | | | | | Some ports were setting errno in PSEUDO and some were not. Now errno is set for all in PSEUDO and PSEUDO_NOERROR is provided for the non-errno case (only used by _exit). Needs testing on vax and m88k. XXX - hppa and powerpc still lack a real PSEUDO_NOERROR implementation. Currently PSEUDO_NOERROR and PSEUDO are the same (so builds don't break on those platforms).
* Use the LBL isnan() and isinf() on all platforms with ieee floating point.millert2001-09-103-28/+72
|
* Use the LBL frexp() on all platforms with ieee floating point.millert2001-09-101-15/+28
|
* don't use %ebx, that's what %edx is for; Andy Doran <ad@netbsd.org>mickey2000-12-291-8/+6
|
* missing ';'d2000-01-061-2/+2
|
* use 'x/**/y' as non-ansi concat, and not 'x /**/ y' - duhd2000-01-061-2/+2
|
* okay then, don't use _C_LABEL. redefine _PROF_PROLOGUE which seems a lot sanerd2000-01-061-4/+4
|
* well. that wasnt tested very well.d2000-01-061-2/+8
|
* use weak symbolsd2000-01-061-45/+49
|