diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 11:43:38 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 11:43:38 -0500 |
commit | df4fc3faee45d421932c76bc25889439a9a709ca (patch) | |
tree | 12130a1c4b3d9f95835d65d9b286c091ef98300d | |
parent | 822ca11579facd6cd7107f4b709405c025ed9e0b (diff) | |
download | cryptopp-git-df4fc3faee45d421932c76bc25889439a9a709ca.tar.gz |
Cleanup headers after Microsoft ARM64 port
-rw-r--r-- | simon128_simd.cpp | 4 | ||||
-rw-r--r-- | speck128_simd.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/simon128_simd.cpp b/simon128_simd.cpp index 99a03e1d..7b3f8518 100644 --- a/simon128_simd.cpp +++ b/simon128_simd.cpp @@ -63,8 +63,8 @@ using CryptoPP::vec_swap; // SunCC #if (CRYPTOPP_ARM_NEON_AVAILABLE)
-// Missing from Microsoft's implementation???
-#if defined(_MSC_VER)
+// Missing from Microsoft's ARM A-32 implementation
+#if defined(_MSC_VER) && !defined(_M_ARM64)
inline uint64x2_t vld1q_dup_u64(const uint64_t* ptr)
{
return vmovq_n_u64(*ptr);
diff --git a/speck128_simd.cpp b/speck128_simd.cpp index 8506c3e1..d5028fe6 100644 --- a/speck128_simd.cpp +++ b/speck128_simd.cpp @@ -62,8 +62,8 @@ using CryptoPP::word64; #if (CRYPTOPP_ARM_NEON_AVAILABLE)
-// Missing from Microsoft's implementation???
-#if defined(_MSC_VER)
+// Missing from Microsoft's ARM A-32 implementation
+#if defined(_MSC_VER) && !defined(_M_ARM64)
inline uint64x2_t vld1q_dup_u64(const uint64_t* ptr)
{
return vmovq_n_u64(*ptr);
|