implement hw_bswap32 and hw_bswap64 for AArch64 via rev instruction
This commit is contained in:
parent
3f84f3e163
commit
9a9c972e24
1 changed files with 2 additions and 0 deletions
|
|
@ -16,9 +16,11 @@ hw_bswap16:
|
|||
ret
|
||||
|
||||
hw_bswap32:
|
||||
rev w0, w0
|
||||
ret
|
||||
|
||||
hw_bswap64:
|
||||
rev x0, x0
|
||||
ret
|
||||
|
||||
_cu_memcpy:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue