1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-24 21:32:47 -05:00

#1012 Added checks for _rotr.

This commit is contained in:
XMRig
2019-04-16 01:20:50 +07:00
parent 54a1c614f7
commit f9f7ef26b8
2 changed files with 8 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ static inline uint32_t sub_word(uint32_t key)
saes_sbox[key & 0xff];
}
#if defined(__clang__) || defined(XMRIG_ARM)
#ifndef HAVE_ROTR
static inline uint32_t _rotr(uint32_t value, uint32_t amount)
{
return (value >> amount) | (value << ((32 - amount) & 31));