diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-08-06 23:04:10 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-08-06 23:04:10 -0400 |
commit | 4c30f57d1bfea22e19c0ea9e7f4fb9d18239b70f (patch) | |
tree | ab7572517a750df1f83918d4bd73e8abc1eba394 /validat1.cpp | |
parent | d4428d7f1cada9cc24d88189c583a50454c260ac (diff) | |
download | cryptopp-git-4c30f57d1bfea22e19c0ea9e7f4fb9d18239b70f.tar.gz |
Update comments
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 6 |
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)
|