summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/powerpc/gen/Makefile.inc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for timeconting in userland.pirofti2020-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This diff exposes parts of clock_gettime(2) and gettimeofday(2) to userland via libc eliberating processes from the need for a context switch everytime they want to count the passage of time. If a timecounter clock can be exposed to userland than it needs to set its tc_user member to a non-zero value. Tested with one or multiple counters per architecture. The timing data is shared through a pointer found in the new ELF auxiliary vector AUX_openbsd_timekeep containing timehands information that is frequently updated by the kernel. Timing differences between the last kernel update and the current time are adjusted in userland by the tc_get_timecount() function inside the MD usertc.c file. This permits a much more responsive environment, quite visible in browsers, office programs and gaming (apparently one is are able to fly in Minecraft now). Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others! OK from at least kettenis@, cheloha@, naddy@, sthen@
* alloca.c cannot be usedderaadt2012-04-121-2/+0
|
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-081-1/+2
| | | | | 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-081-2/+1
| | | | them in libc for a very long time. OK guenther@.
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-1/+1
| | | | 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@
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-241-1/+1
| | | | | | | | | | | | | | | | - 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-0/+1
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-011-1/+1
| | | | | | 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@
* Add Doug Gwyn's portable alloca() for platforms w/o an assemblermillert2003-05-021-0/+1
| | | | | | | 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.
* Use the LBL isnan() and isinf() on all platforms with ieee floating point.millert2001-09-101-1/+1
|
* replace the stub ieeefp functions with the real working functions,rahnds1999-07-231-1/+3
| | | | from NetBSD.
* frexp version from m68k, both are IEEE so should be fine.rahnds1997-01-171-1/+1
| | | | | | Ok what other routines are missing at this point I wonder, Do we have a standards compilance test? If so, it really needs to be run on this port.
* Add fp.c file, reformat to be more readable.rahnds1997-01-021-1/+3
|
* Check-in of powerpc library support.rahnds1996-12-211-0/+1
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.