Upstream fixed it for good with [Added checks for _rotr.] and [Fixed _rotr detection.]
This commit is contained in:
parent
32c3d4b9f6
commit
699269bbae
2 changed files with 11 additions and 1 deletions
|
@ -130,7 +130,7 @@ static inline uint32_t sub_word(uint32_t key)
|
|||
saes_sbox[key & 0xff];
|
||||
}
|
||||
|
||||
#if (defined(__clang__) && __clang_major__ != 9) || defined(XMRIG_ARM)
|
||||
#ifndef HAVE_ROTR
|
||||
static inline uint32_t _rotr(uint32_t value, uint32_t amount)
|
||||
{
|
||||
return (value >> amount) | (value << ((32 - amount) & 31));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue