summaryrefslogtreecommitdiff
path: root/speck.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-17 09:02:24 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-17 09:02:24 -0400
commit25116f5aae5ddf23891d62d23ad4c28ce248bd67 (patch)
tree1c211a383bcd6983f76aaff4f36c4f198572a152 /speck.h
parent18bfe2a50a406c47a9963bba7302697af413b182 (diff)
downloadcryptopp-git-25116f5aae5ddf23891d62d23ad4c28ce248bd67.tar.gz
Enable SSSE3 and SSE4 for SIMON and SPECK on Solaris with SunCC 5.13 and above
Diffstat (limited to 'speck.h')
-rw-r--r--speck.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/speck.h b/speck.h
index c0b67315..9e0b26d1 100644
--- a/speck.h
+++ b/speck.h
@@ -31,7 +31,7 @@
// Yet another SunStudio/SunCC workaround. Failed self tests
// in SSE code paths on i386 for SunStudio 12.3 and below.
-#if defined(__SUNPRO_CC)
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5120)
# undef CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
# undef CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
#endif