cvs commit: src/sys/sparc64/include cpufunc.h md_var.h
src/sys/sparc64/sparc64 machdep.c pmap.c
Jake Burkholder
jake at FreeBSD.org
Sun Apr 6 10:05:28 PDT 2003
jake 2003/04/06 10:05:26 PDT
FreeBSD src repository
Modified files:
sys/sparc64/include cpufunc.h md_var.h
sys/sparc64/sparc64 machdep.c pmap.c
Log:
Use the vis block copy/zero functions for pmap_copy_page and pmap_zero_page.
These are called through function pointers so that different implementations
can be provided for cheetah, where the block load instructions may or may
not be a win, and so they can be disabled with the machdep.use_vis tunable.
In terms of raw bandwidth the integer versions are faster, but not allocating
lines in the L2 cache for useless data gives a measurable improvement in user
time for the benchmarks I tested (mostly buildworld with -j8).
As far as I can tell the instructions used are implemented on everything
back to UltraSPARC I, so there should not be a problem with different cpu
types.
Revision Changes Path
1.16 +0 -3 src/sys/sparc64/include/cpufunc.h
1.13 +9 -4 src/sys/sparc64/include/md_var.h
1.86 +14 -0 src/sys/sparc64/sparc64/machdep.c
1.106 +6 -6 src/sys/sparc64/sparc64/pmap.c
More information about the cvs-src
mailing list