mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-23 11:15:31 +00:00
Fix ARMv7 build.
This commit is contained in:
parent
e119f7f402
commit
14576f599c
1 changed files with 6 additions and 0 deletions
|
@ -73,11 +73,17 @@ static inline __attribute__((always_inline)) __m128i _mm_set_epi64x(const uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef XMRIG_ARMv8
|
||||||
static inline __attribute__((always_inline)) __m128i _mm_aesenc_si128(__m128i v, __m128i rkey)
|
static inline __attribute__((always_inline)) __m128i _mm_aesenc_si128(__m128i v, __m128i rkey)
|
||||||
{
|
{
|
||||||
alignas(16) const __m128i zero = { 0 };
|
alignas(16) const __m128i zero = { 0 };
|
||||||
return veorq_u8(vaesmcq_u8(vaeseq_u8(v, zero)), rkey );
|
return veorq_u8(vaesmcq_u8(vaeseq_u8(v, zero)), rkey );
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static inline __attribute__((always_inline)) __m128i _mm_aesenc_si128(__m128i v, __m128i rkey)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* this one was not implemented yet so here it is */
|
/* this one was not implemented yet so here it is */
|
||||||
|
|
Loading…
Reference in a new issue