NetBSD/sys/lib/libkern
cgd e1078396e5 copy down from libkern:
>use p->hashfraction when doing non-time-critical calculations, rather than
>using HASHFRACTION directly.  in time-critical calculations, if HASHFRACTION
>is a power of two, check that p->hashfraction == HASHFRACTION and if so do
>the calculation with the compiled-in value so that the compiler can optimize
>out (potentially) expensive divisions.  if p->hashfraction != HASHFRACTION,
>actually do the division.  This has the result that on machines with slow
>division, the division can be optimized out of the common case, but that
>if HASHFRACTION changes from the compiled-in value (for whatever reason),
>profiling will still work.  Changes suggested by Chris Torek.
1996-06-12 04:16:53 +00:00
..
arch locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
Makefile Make sure we clean up libkern.o and libkern.po, too. Closes PRs 1951 1996-05-10 21:27:32 +00:00
Makefile.inc use ' not " when passing variables to a sub-make. pr#1199/pr#1296 1996-05-20 17:23:25 +00:00
__main.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
adddi3.c Update from libc. 1995-10-07 09:26:14 +00:00
anddi3.c Update from libc. 1995-10-07 09:26:14 +00:00
ashldi3.c Update from libc. 1995-10-07 09:26:14 +00:00
ashrdi3.c Update from libc. 1995-10-07 09:26:14 +00:00
bcmp.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
bzero.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
cmpdi2.c Update from libc. 1995-10-07 09:26:14 +00:00
divdi3.c Update from libc. 1995-10-07 09:26:14 +00:00
ffs.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
htonl.c Copy from libkern: 1996-05-29 23:39:30 +00:00
htons.c Copy from libkern: 1996-05-29 23:39:30 +00:00
imax.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
imin.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
iordi3.c Update from libc. 1995-10-07 09:26:14 +00:00
libkern.h locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
lmax.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
lmin.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
lshldi3.c Update from libc. 1995-10-07 09:26:14 +00:00
lshrdi3.c Update from libc. 1995-10-07 09:26:14 +00:00
max.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
mcount.c copy down from libkern: 1996-06-12 04:16:53 +00:00
min.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
moddi3.c Update from libc. 1995-10-07 09:26:14 +00:00
muldi3.c Update from libc. 1995-10-07 09:26:14 +00:00
negdi2.c Update from libc. 1995-10-07 09:26:14 +00:00
notdi2.c Update from libc. 1995-10-07 09:26:14 +00:00
ntohl.c Copy from libkern: 1996-05-29 23:39:30 +00:00
ntohs.c Copy from libkern: 1996-05-29 23:39:30 +00:00
qdivrem.c Update from libc. 1995-10-07 09:26:14 +00:00
quad.h don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
random.c new RCS ID format. 1994-10-26 06:39:02 +00:00
scanc.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
skpc.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
strcat.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strcmp.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strcpy.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strlen.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strncasecmp.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strncmp.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
strncpy.c don't include user-land headers in libkern files when compiling for 1996-04-18 02:19:59 +00:00
subdi3.c Update from libc. 1995-10-07 09:26:14 +00:00
ucmpdi2.c Update from libc. 1995-10-07 09:26:14 +00:00
udivdi3.c Update from libc. 1995-10-07 09:26:14 +00:00
ulmax.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
ulmin.c - Add missing prototypes 1996-03-14 18:52:03 +00:00
umoddi3.c Update from libc. 1995-10-07 09:26:14 +00:00
xordi3.c Update from libc. 1995-10-07 09:26:14 +00:00