summaryrefslogtreecommitdiff
path: root/ppc_simd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-04-07 23:44:16 -0400
committerJeffrey Walton <noloader@gmail.com>2020-04-07 23:44:16 -0400
commit6287d4fb73425eff7d0ddf852e3cfc9c3d468fc9 (patch)
treeefb5798fbf60804a0ce180eec967517cd2476d01 /ppc_simd.h
parent7248c448b576342f5371404be8c385aeb2668ba6 (diff)
downloadcryptopp-git-6287d4fb73425eff7d0ddf852e3cfc9c3d468fc9.tar.gz
Fix copy/paste typo
Diffstat (limited to 'ppc_simd.h')
-rw-r--r--ppc_simd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppc_simd.h b/ppc_simd.h
index b8da0bde..e7b0d2ad 100644
--- a/ppc_simd.h
+++ b/ppc_simd.h
@@ -1156,7 +1156,7 @@ inline void VecStoreAligned(const T data, byte dest[16])
#if defined(_ARCH_PWR9)
vec_xst((uint8x16_p)data, 0, NCONST_V8_CAST(dest));
#else
- vec_st((uint8x16_p)data, off, NCONST_V8_CAST(dest));
+ vec_st((uint8x16_p)data, 0, NCONST_V8_CAST(dest));
#endif
}
@@ -1232,7 +1232,7 @@ inline void VecStoreAligned(const T data, word32 dest[4])
vec_xst((uint32x4_p)data, 0, NCONST_V32_CAST(dest));
# endif
#else
- vec_st((uint8x16_p)data, off, NCONST_V8_CAST(dest));
+ vec_st((uint8x16_p)data, 0, NCONST_V8_CAST(dest));
#endif
}