summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-06 22:19:59 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-06 22:19:59 -0400
commitd4428d7f1cada9cc24d88189c583a50454c260ac (patch)
tree5ac7750456e7c574202095be911fc4bee02d17ed /test.cpp
parenta4ebb75538f1fde6cdba481765b5f9216ecb0bc3 (diff)
downloadcryptopp-git-d4428d7f1cada9cc24d88189c583a50454c260ac.tar.gz
Add VectorLoad and VectorStore test code
Applies to POWER4 and above only
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.cpp b/test.cpp
index 6a7d82c2..0b3427e0 100644
--- a/test.cpp
+++ b/test.cpp
@@ -993,6 +993,10 @@ bool Validate(int alg, bool thorough, const char *seedInput)
case 9994: result = TestHuffmanCodes(); break;
// http://github.com/weidai11/cryptopp/issues/346
case 9993: result = TestASN1Parse(); break;
+
+# if defined(CRYPTOPP_ALTIVEC_AVAILABLE)
+ case 9992: result = TestAltivecOps(); break;
+# endif
#endif
default: return false;