From 1a89320f0b66bb1c3041cc13c204684086e86e27 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 6 Apr 2020 00:54:35 -0400 Subject: Update comments --- ppc_simd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ppc_simd.h') diff --git a/ppc_simd.h b/ppc_simd.h index 6dcb85bc..f4a1fb35 100644 --- a/ppc_simd.h +++ b/ppc_simd.h @@ -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 -- cgit v1.2.1