mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-22 15:58:53 +00:00
update ifdef for _rotr on aarch64
Enables compilation on aarch64 (Packet c1.large.arm)
This commit is contained in:
parent
c9102ee88c
commit
8ef8224270
@ -328,7 +328,7 @@ static inline uint32_t subw(uint32_t w) {
|
||||
sbox[w & 0xff];
|
||||
}
|
||||
|
||||
#if defined(__clang__) || defined(__arm__)
|
||||
#if defined(__clang__) || defined(__arm__) || defined(__aarch64__)
|
||||
static inline uint32_t _rotr(uint32_t value, uint32_t amount) {
|
||||
return (value >> amount) | (value << (-amount & 31));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user