freebsd-dev/sys/sparc64/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
..
ata_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
autoconf.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
bus_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
cache.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
cam_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
cheetah.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
clock.c Chase r327432... sparc64 clock.c now needs to include sys/tslog.h 2017-12-31 20:30:51 +00:00
counter.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
db_disasm.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
db_hwwatch.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
db_interface.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
db_trace.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
dump_machdep.c Print the dump progress indicator after calling dump_start(). 2018-05-01 17:32:43 +00:00
eeprom.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
elf_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
exception.S Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gdb_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
genassym.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
identcpu.c
in_cksum.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
interrupt.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
intr_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
iommu.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
jbusppm.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
locore.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
machdep.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mem.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
mp_exception.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
mp_locore.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
mp_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
nexus.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
ofw_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
pmap.c Make v_wire_count a per-cpu counter(9) counter. This eliminates a 2018-02-12 22:53:00 +00:00
prof_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
rtc.c Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
rwindow.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
sc_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
schppm.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
spitfire.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
ssm.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
stack_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
support.S Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00
swtch.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
sys_machdep.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
tick.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
tlb.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
trap.c Report TRAP_BRKPT for breakpoint traps on sparc64. 2018-05-09 15:25:26 +00:00
tsb.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00
uio_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
upa.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
vm_machdep.c Use vm_page_unwire_noq() instead of directly modifying page wire counts. 2018-02-08 19:28:51 +00:00
zeus.c sys/sparc64: further adoption of SPDX licensing ID tags. 2017-11-27 15:10:39 +00:00