Mateusz Guzik 6a909b9680 amd64: replace libkern's memset and memmove with assembly variants
memmove is repurposed bcopy (arguments swapped, return value added)
The libkern variant is a wrapper around bcopy, so this is a big
improvement.

memset is repurposed memcpy. The librkern variant is doing fishy stuff,
including branching on 0 and calling bzero.

Both functions are rather crude and subject to partial depessimization.

This is a soft prerequisite to adding variants utilizing the
'Enhanced REP MOVSB/STOSB' bit and let the kernel patch at runtime.
2018-05-07 15:07:28 +00:00
..
2018-03-24 21:30:24 +00:00
2018-05-06 00:38:29 +00:00
2018-01-10 17:36:43 +00:00
2017-02-06 08:49:57 +00:00
2018-03-17 17:18:29 +00:00
2018-04-13 20:30:49 +00:00
2018-05-06 00:38:29 +00:00
2018-05-06 00:38:29 +00:00
2018-04-12 17:43:19 +00:00