kernel - Refactor copyinstr and copystr
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 23 Sep 2018 18:35:21 +0000 (11:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 Sep 2018 16:29:09 +0000 (09:29 -0700)
commit879d1a9ecdfcbc90f54c3aa8f219ba19a8b4ce15
tree53980305688efeaf7da81d2415e83ab23a41a3e2
parent2b00f6439cd4a1c9586b839afb267c875e1d0d5f
kernel - Refactor copyinstr and copystr

* Replace lodsb/stosb sequence with discrete mov's.  Remove related
  xchgq and cld.

Suggested-by: mjg
sys/platform/pc64/x86_64/support.s
test/sysperf/syscall4.c