implement hw_bswap32 and hw_bswap64 for AArch64 via rev instruction

This commit is contained in:
mykola2312 2022-05-18 22:58:29 +03:00
parent 3f84f3e163
commit 9a9c972e24

View file

@ -16,9 +16,11 @@ hw_bswap16:
ret ret
hw_bswap32: hw_bswap32:
rev w0, w0
ret ret
hw_bswap64: hw_bswap64:
rev x0, x0
ret ret
_cu_memcpy: _cu_memcpy: