summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/backend/cpu')
-rw-r--r--xmrstak/backend/cpu/crypto/cryptonight_altivec.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h
index b7979ce..cdd7fcc 100644
--- a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h
+++ b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h
@@ -166,12 +166,8 @@ static inline void aes_genkey_be(const __m128i* memory, __m128i* k0, __m128i* k1
{
__m128i xout0, xout2;
- xout0 = vec_ld(0,memory);
- xout2 = vec_ld(16,memory);
-
- xout0 = v_rev(xout0);
- xout2 = v_rev(xout2);
-
+ xout0 = v_rev(vec_ld(0,memory));
+ xout2 = v_rev(vec_ld(16,memory));
*k0 = xout0;
*k1 = xout2;
OpenPOWER on IntegriCloud