diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-04-06 00:54:35 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-04-06 00:54:35 -0400 |
commit | 1a89320f0b66bb1c3041cc13c204684086e86e27 (patch) | |
tree | dad71e859d13317718a9c8fa9d3327f45ef0f893 /ppc_simd.h | |
parent | 364fb484111063b49b7fa4b4ea131d6c31c2b61e (diff) | |
download | cryptopp-git-1a89320f0b66bb1c3041cc13c204684086e86e27.tar.gz |
Update comments
Diffstat (limited to 'ppc_simd.h')
-rw-r--r-- | ppc_simd.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -74,9 +74,10 @@ // We should be able to perform the load using inline asm on Power7 with
// VSX or Power8. The inline asm will avoid C undefined behavior due to
// casting from byte* to word32*. We are safe because our byte* are
-// 16-byte aligned for Altivec. Below is the big endian load.
+// 16-byte aligned for Altivec. Below is the big endian load. Little
+// endian would need to follow with xxpermdi for the reversal.
//
-// __asm__ ("lxvw4x %x0, %1, %2" : "=wa"(v) : "r"(src), "r"(0) : );
+// __asm__ ("lxvw4x %x0, %1, %2" : "=wa"(v) : "r"(0), "r"(src) : );
#ifndef CRYPTOPP_PPC_CRYPTO_H
#define CRYPTOPP_PPC_CRYPTO_H
|