From d874ede49eeac1c6ee74a2a076425b2a4d34b868 Mon Sep 17 00:00:00 2001 From: XMRig Date: Tue, 18 Apr 2017 13:14:09 +0300 Subject: [PATCH] Fix. --- algo/cryptonight/cryptonight_av5_aesni_experimental.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algo/cryptonight/cryptonight_av5_aesni_experimental.c b/algo/cryptonight/cryptonight_av5_aesni_experimental.c index 508c340f..6fc8057a 100644 --- a/algo/cryptonight/cryptonight_av5_aesni_experimental.c +++ b/algo/cryptonight/cryptonight_av5_aesni_experimental.c @@ -125,7 +125,7 @@ static inline void aes_round(__m128i key, __m128i* x0, __m128i* x1, __m128i* x2, } -static __always_inline void cn_explode_scratchpad(const __m128i* input, __m128i* output) +static inline void cn_explode_scratchpad(const __m128i* input, __m128i* output) { // This is more than we have registers, compiler will assign 2 keys on the stack __m128i xin0, xin1, xin2, xin3, xin4, xin5, xin6, xin7; @@ -168,7 +168,7 @@ static __always_inline void cn_explode_scratchpad(const __m128i* input, __m128i* } -static __always_inline void cn_implode_scratchpad(const __m128i* input, __m128i* output) +static inline void cn_implode_scratchpad(const __m128i* input, __m128i* output) { // This is more than we have registers, compiler will assign 2 keys on the stack __m128i xout0, xout1, xout2, xout3, xout4, xout5, xout6, xout7;