diff options
author | Judemir Ribeiro <33242603+nioroso-x3@users.noreply.github.com> | 2018-04-07 01:54:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 01:54:27 -0300 |
commit | 5e19ef1d2a86227667ab65f9096ff313e8061484 (patch) | |
tree | a628e00490325c264e131b218b44989818335dda /xmrstak | |
parent | 44f36a7f6af6f12430e2993cf1751d5ddf8cad60 (diff) | |
download | xmr-stak-5e19ef1d2a86227667ab65f9096ff313e8061484.zip xmr-stak-5e19ef1d2a86227667ab65f9096ff313e8061484.tar.gz |
Update cryptonight_altivec.h
Diffstat (limited to 'xmrstak')
-rw-r--r-- | xmrstak/backend/cpu/crypto/cryptonight_altivec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h index cdd7fcc..96845b6 100644 --- a/xmrstak/backend/cpu/crypto/cryptonight_altivec.h +++ b/xmrstak/backend/cpu/crypto/cryptonight_altivec.h @@ -166,8 +166,11 @@ 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; |