freebsd-nq/sys/sparc64
Warner Losh 78a76e3628 Define memmove and make bcopy alt entry point
Make a memmove entry point just before bcopy and have it swap its args
before continuing into the body of bcopy. Adjust the returns to return
dst (original %o0 swapped to %o1) from both entry points. bcopy users
will ignore them. Since these are in the branch delay slot, it should
take no additional time. I use %o6 for this rather than just move %o1
back to %o2 at the end since my sparc64 assembler knowledge is weak.
Also eliminate wrapper call from memmove to bcopy.

Differential Revision: https://reviews.freebsd.org/D15374
2018-05-24 21:11:28 +00:00
..
central Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
conf Enable kernel dump features in GENERIC for most platforms. 2018-05-19 19:53:23 +00:00
ebus Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
fhc Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
include No need to force md code to define a macro that's the same as 2018-04-16 13:52:23 +00:00
isa Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
pci Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
sbus Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00