Date: Thu, 3 Apr 2003 10:43:40 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include cpufunc.hsrc/sys/sparc64/sparc64 support.S Message-ID: <200304031843.h33Ihep9072552@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2003/04/03 10:43:40 PST FreeBSD src repository Modified files: sys/sparc64/include cpufunc.h sys/sparc64/sparc64 support.S Log: Add optimized block copy and zero functions using vis instructions, which can do 64 bytes at a time and don't allocate lines in the L2 cache. These assume that everything is 64 byte aligned, and that there's more than 128 bytes of data (best for whole pages). The block load and store instructions don't follow normal memory ordering rules and require either a memory barrier or move between registers before the data can actually be used. This implementation correctly shuffles around 3 out of the 4 sets of registers in order to avoid memory barriers expect for the last 2 blocks. Revision Changes Path 1.15 +3 -0 src/sys/sparc64/include/cpufunc.h 1.21 +137 -0 src/sys/sparc64/sparc64/support.S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304031843.h33Ihep9072552>