diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-04-08 02:59:38 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-04-08 02:59:38 -0400 |
commit | acf5c7de1034fa59d338adb403296aee2b1dfcf1 (patch) | |
tree | 5248a0e356653141050f7dd39f0f8212377b0aa7 /ppc_simd.h | |
parent | 6287d4fb73425eff7d0ddf852e3cfc9c3d468fc9 (diff) | |
download | cryptopp-git-acf5c7de1034fa59d338adb403296aee2b1dfcf1.tar.gz |
Update SPECK64 and SPECK128 OptimalDataAlignment
Diffstat (limited to 'ppc_simd.h')
-rw-r--r-- | ppc_simd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -281,7 +281,7 @@ inline uint32x4_p VecLoad_ALTIVEC(int off, const byte src[16]) // http://www.nxp.com/docs/en/reference-manual/ALTIVECPEM.pdf
const uint8x16_p perm = vec_lvsl(off, src);
const uint8x16_p low = vec_ld(off, src);
- const uint8x16_p high = vec_ld(15, src);
+ const uint8x16_p high = vec_ld(off+15, src);
return (uint32x4_p)vec_perm(low, high, perm);
}
}
|