summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/hppa/gen (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not use <machine/float.h>, that is an deformed BSD-ism.deraadt2012-06-251-2/+2
| | | | | It turns out <float.h> is the right file to pull in. ok millert
* alloca.c cannot be usedderaadt2012-04-121-3/+1
|
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-082-2/+20
| | | | | 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-082-20/+2
| | | | them in libc for a very long time. OK guenther@.
* Sticky flags are in the left half of fpsr; not the undefined bitsmartynas2011-04-221-2/+2
| | | | in the right half. OK miod@.
* Remove wrong check.ariane2011-04-151-10/+1
| | | | | | | | | | | | | HPPA longjmp tests that the env parameter < the current stack pointer. The test relies on the stack being at the end of the memory space. This test is wrong for a couple of reasons: - the main stack is at 0x78000000-0x80000000, but allocations between 0x80000000-0xc0000000 are available to the program, - pthread stacks may be at any place in the address space, allowing a heap-allocated env parameter to fail the check. ok deraadt@, kettenis@, guenther@ at least
* 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-193-450/+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.hderaadt2008-12-102-4/+3
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+4
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+5
|
* - 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
* 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-076-32/+6
| | | | 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@
* Use correct type for old values. No binary change.otto2004-01-052-4/+4
| | | | ok mickey@ miod@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-025-34/+14
| | | | 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.
* reversed condition checking for sig*jmp(, savemask)mickey2002-10-211-4/+4
|
* deal w/ longjmp(, 0)mickey2002-10-211-2/+4
|
* make an ieeefp regress pass; miod@ okmickey2002-10-218-35/+36
|
* I was on drugs when I commited this initially, and still do not understandmiod2002-05-228-244/+53
| | | | | | | | | how I got libc to compile with this. Blush. Replace this with a correct implementation, and write a faster fabs() while there. ok mickey@
* kill unused linemickey2002-05-171-2/+1
|
* More fp-related libc pieces for hppa.miod2002-03-1112-1/+887
| | | | This enables awk to link.
* fix typo, and put back stack frame opsmickey2002-02-081-8/+11
|
* reverse condition in the sp botchness check, we need to nullifymickey2002-02-071-10/+9
| | | | if we are ok not if we are bad. fix a pasto in branch w/in longjmps.
* implement the setjmp/longjmp family, based on fredette@'s workmickey2002-02-063-23/+204
|
* Use the LBL isnan() and isinf() on all platforms with ieee floating point.millert2001-09-102-6/+6
|
* entrieness cleanupmickey2001-06-041-4/+4
|
* fix fork, brk/sbrk; rcsid embeddingmickey2001-03-291-1/+7
|
* alignment seems like a good idea; after art@alphamickey2001-01-241-3/+4
|
* some basic frameworkmickey1999-09-146-1980/+139
|
* some missing parts; sys is not ready yetmickey1998-12-172-0/+1981