summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-06 23:04:10 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-06 23:04:10 -0400
commit4c30f57d1bfea22e19c0ea9e7f4fb9d18239b70f (patch)
treeab7572517a750df1f83918d4bd73e8abc1eba394 /validat1.cpp
parentd4428d7f1cada9cc24d88189c583a50454c260ac (diff)
downloadcryptopp-git-4c30f57d1bfea22e19c0ea9e7f4fb9d18239b70f.tar.gz
Update comments
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)