Enable SSSE3 and SSE4 for SIMON and SPECK on Solaris with SunCC 5.13 and above
parent
18bfe2a50a
commit
25116f5aae
2
simon.h
2
simon.h
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
// Yet another SunStudio/SunCC workaround. Failed self tests
|
// Yet another SunStudio/SunCC workaround. Failed self tests
|
||||||
// in SSE code paths on i386 for SunStudio 12.3 and below.
|
// 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_SIMON64_ADVANCED_PROCESS_BLOCKS
|
# undef CRYPTOPP_SIMON64_ADVANCED_PROCESS_BLOCKS
|
||||||
# undef CRYPTOPP_SIMON128_ADVANCED_PROCESS_BLOCKS
|
# undef CRYPTOPP_SIMON128_ADVANCED_PROCESS_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
2
speck.h
2
speck.h
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
// Yet another SunStudio/SunCC workaround. Failed self tests
|
// Yet another SunStudio/SunCC workaround. Failed self tests
|
||||||
// in SSE code paths on i386 for SunStudio 12.3 and below.
|
// 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_SPECK64_ADVANCED_PROCESS_BLOCKS
|
||||||
# undef CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
|
# undef CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue