forked from wolfSSL/wolfssl
ByteReverseWord32 AARCH64: Use proper instruction - REV32
This commit is contained in:
@ -136,7 +136,7 @@ WC_STATIC WC_INLINE word32 ByteReverseWord32(word32 value)
|
|||||||
return value;
|
return value;
|
||||||
#elif defined(__aarch64__) && defined(__GNUC__)
|
#elif defined(__aarch64__) && defined(__GNUC__)
|
||||||
__asm__ volatile (
|
__asm__ volatile (
|
||||||
"REV %w0, %w0 \n"
|
"REV32 %0, %0 \n"
|
||||||
: "+r" (value)
|
: "+r" (value)
|
||||||
:
|
:
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user