diff options
author | Judemir Ribeiro <jribeiro@venetian.bioinfo.puc.cl> | 2018-04-06 22:44:21 -0300 |
---|---|---|
committer | Judemir Ribeiro <jribeiro@venetian.bioinfo.puc.cl> | 2018-04-06 22:44:21 -0300 |
commit | 52c346cd69bad3dd6b8692499e2f7be9126d1e91 (patch) | |
tree | b024f7d3cccd4d7ada57c65ec21ce76613eb55ba /xmrstak/backend/cpu | |
parent | e726560c7d1e7788ab01096bb8976cf1d8b47b85 (diff) | |
parent | 4827d37d42596f25a4c4c320754eef259878c8f8 (diff) | |
download | xmr-stak-52c346cd69bad3dd6b8692499e2f7be9126d1e91.zip xmr-stak-52c346cd69bad3dd6b8692499e2f7be9126d1e91.tar.gz |
Merge branch 'master' of https://github.com/nioroso-x3/xmr-stak
Diffstat (limited to 'xmrstak/backend/cpu')
-rw-r--r-- | xmrstak/backend/cpu/crypto/cryptonight_altivec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h index cdd7fcc..b7979ce 100644 --- a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h +++ b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h @@ -166,8 +166,12 @@ static inline void aes_genkey_be(const __m128i* memory, __m128i* k0, __m128i* k1 { __m128i xout0, xout2; - xout0 = v_rev(vec_ld(0,memory)); - xout2 = v_rev(vec_ld(16,memory)); + xout0 = vec_ld(0,memory); + xout2 = vec_ld(16,memory); + + xout0 = v_rev(xout0); + xout2 = v_rev(xout2); + *k0 = xout0; *k1 = xout2; |