freebsd-skq/sys/powerpc/include
peter 670e711dd1 Use a generic implementation of the Fowler/Noll/Vo hash (FNV hash).
Make the name cache hash as well as the nfsnode hash use it.

As a special tweak, create an unsigned version of register_t.  This allows
us to use a special tweak for the 64 bit versions that significantly
speeds up the i386 version (ie: int64 XOR int64 is slower than int64
XOR int32).

The code layout is a little strange for the string function, but I was
able to get between 5 to 10% improvement over the original version I
started with. The layout affects gcc code generation choices and this way
was fastest on x86 and alpha.

Note that 'CPUTYPE=p3' etc makes a fair difference to this.  It is
around 45% faster with -march=pentiumpro on a p6 cpu.
2001-03-17 09:31:06 +00:00
..
_limits.h Our SHRT_MIN definition was actually 4 bits too big. 2000-11-04 21:01:44 +00:00
ansi.h Correct disordering which is corresponding to bde's fix to 2001-02-17 14:51:11 +00:00
asm.h PowerPC assembler #defines. 2001-01-07 03:43:21 +00:00
atomic.h PowerPC atomic operation functions. 2001-01-07 03:46:01 +00:00
bootinfo.h
clock.h Move DELAY() from <machine/clock.h> to <sys/systm.h> 2000-10-15 09:51:49 +00:00
elf.h PowerPC specific ELF ABI definitions. 2001-01-01 21:54:48 +00:00
endian.h PowerPC platform-specific definitions. 2001-01-01 23:19:22 +00:00
exec.h PowerPC platform-specific page size setting. 2001-01-01 23:26:39 +00:00
frame.h Minor style tweaks. 2001-01-02 00:11:41 +00:00
globaldata.h - Make astpending and need_resched process attributes rather than CPU 2001-02-10 02:20:34 +00:00
globals.h - Remove compatibility macros for accessing per-cpu variables. 2001-01-11 14:46:26 +00:00
limits.h Our SHRT_MIN definition was actually 4 bits too big. 2000-11-04 21:01:44 +00:00
md_var.h Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
mutex.h Fix mtx_legal2block. The only time that it is bad to block on a mutex is 2001-03-09 07:24:17 +00:00
param.h PowerPC platform-specific definitions (modeled on sys/i386/include/param.h) 2001-01-02 00:06:45 +00:00
pcpu.h - Make astpending and need_resched process attributes rather than CPU 2001-02-10 02:20:34 +00:00
ptrace.h
resource.h
setjmp.h PowerPC platform-specific definitions (modeled on sys/i386/include/setjmp.h) 2001-01-02 00:34:24 +00:00
sigframe.h
types.h Use a generic implementation of the Fowler/Noll/Vo hash (FNV hash). 2001-03-17 09:31:06 +00:00
ucontext.h Minor style tweaks. 2001-01-02 00:11:41 +00:00