]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Optimize RISC-V copyin(9)/copyout(9) routines.
authormarkj <markj@FreeBSD.org>
Mon, 21 Jan 2019 19:38:53 +0000 (19:38 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 21 Jan 2019 19:38:53 +0000 (19:38 +0000)
commitd0ae1da806765b39b60a63571011f4832a6af26b
treed04ea5a48873439654393fc1c16524c1475d841b
parentd33ac4c04b5ba3b67846669a6f6221a82591de96
Optimize RISC-V copyin(9)/copyout(9) routines.

The existing copyin(9) and copyout(9) routines on RISC-V perform only a
simple byte-by-byte copy.  Improve their performance by performing
word-sized copies where possible.

Submitted by: Mitchell Horne <mhorne063@gmail.com>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18851
sys/riscv/include/riscvreg.h
sys/riscv/riscv/copyinout.S