summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'validat1.cpp')
-rw-r--r--validat1.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/validat1.cpp b/validat1.cpp
index ac39543a..1a4a7dce 100644
--- a/validat1.cpp
+++ b/validat1.cpp
@@ -1075,6 +1075,12 @@ bool TestAltivecOps()
return true;
}
+ // These tests may seem superflous, but we really want to test the
+ // Altivec/POWER4 implementation. That does not happen when POWER7
+ // or POWER8 is available because we use POWER7's unaligned loads
+ // and stores with POWER8's AES, SHA, etc. These tests enage
+ // Altivec/POWER4 without POWER7, like on an old PowerMac.
+
//********** Unaligned loads and stores **********//
CRYPTOPP_ALIGN_DATA(16)