summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-192-143/+2
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* use sys/cdefs.h; pointed out by theomartynas2008-12-101-2/+2
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+4
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+2
|
* remove unusedmartynas2008-12-096-201/+0
|
* - add long double signbitmartynas2008-12-092-4/+3
| | | | | | | | | | | | | - 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/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-96/+11
| | | | | | | | | | | | | | | | - 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
* Repair FLT_ROUNDS operation. ok kettenis@miod2007-10-271-3/+3
|
* if we pull in a .S file, we must fake out the lint with a .c filederaadt2005-11-291-1/+2
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* zap rcsid.espie2005-08-0736-171/+36
| | | | okay deraadt@ (tested them all)
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-012-76/+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@
* In _longjmp(), flush windows rather than attempting to backtrack manually,miod2004-05-041-28/+19
| | | | | | | | | since the latter is not reliable in all cases. This allows ruby to work on sparc64. Problem spotted by claudio@; fix adapted from NetBSD for sparc, FreeBSD for sparc64; ok deraadt@
* Use an unsigned comparison against minbrk.miod2003-12-251-3/+3
| | | | ok deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0236-219/+75
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Add Doug Gwyn's portable alloca() for platforms w/o an assemblermillert2003-05-021-1/+2
| | | | | | | version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure.
* Indent delay slot insnsjason2003-04-228-43/+43
|
* Make the mul/div/rem (and u... versions) weak so that ld.so can overridedrahn2002-11-233-3/+18
| | | | | it with optimized versions. And allow ld.so to compile with strong versions with extra symbols so it can find them.
* curbrk -> __curbrk on sparc to avoid name space pollution.art2002-10-062-12/+12
|
* Two touches to make this work with ELF.art2002-08-112-31/+18
| | | | | - use _C_LABEL(__cerror) and not cerror to avoid polluting the name space. - Use weak symbols for libc_r syscalls.
* _C_LABEL where needed.art2002-08-053-13/+13
|
* We need to keep K&R compat macros for some ports where the assemnbler ismillert2002-02-191-1/+6
| | | | still using -traditional-cpp.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-6/+1
|
* rfork() needs a fork.S-like stub as well; ok artderaadt2002-02-171-0/+48
|
* Add PSEUDO_NOERROR similar to that used by NetBSD.millert2001-09-201-9/+18
| | | | | | | | | | | 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-102-4/+8
|
* Use the LBL frexp() on all platforms with ieee floating point.millert2001-09-101-1/+3
|
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-121-3/+3
| | | | deraadt@ ok
* damn it, i have had it with this untested weak shitderaadt2000-10-171-9/+14
|
* re-add weak sparc support; d@deraadt2000-10-161-14/+9
|
* back out weak symbols; deraadt@d2000-10-111-46/+38
|
* use weak symbols in sparc's libcd2000-10-041-38/+46
|
* $OpenBSD$todd2000-03-011-1/+1
|
* system call entry, art@d2000-01-061-2/+2
|
* replacement pipe() system call; copies data into place inside kernel, soderaadt1999-06-071-55/+0
| | | | that EFAULT return value is possible
* use SYSENTRY, so that libc_r wraps this properlyderaadt1999-05-281-2/+2
|
* missing parts from last commitmillert1999-04-251-2/+2
|
* mi ptraced1999-02-011-61/+0
|
* ENTRY -> SYSENTRY for sparc libc_r (per d@)marc1999-01-223-6/+6
|
* use LIBCSRCDIRd1999-01-201-5/+5
|
* _THREAD_SAFE; nominal testing by friesd1999-01-062-9/+30
|
* Better lint(1) framework. Mostly from cgd@NetBSDtholo1998-02-081-48/+0
|
* pull in protosderaadt1997-08-011-1/+4
|
* tabifykstailey1997-07-232-4/+4
|
* generate reboot.o like other system callsderaadt1996-12-111-46/+0
|
* Fix RCS idstholo1996-08-1950-221/+177
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Add support for building lint(1) librarytholo1996-03-253-0/+50
|
* From NetBSD: merge of 960317niklas1996-03-191-4/+8
|
* From NetBSD: Add explicit return typeniklas1996-02-242-2/+4
|