diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-02-22 16:18:43 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-02-22 16:18:43 -0500 |
commit | 5d688500414f138491f2ae0d298f9378656fde3c (patch) | |
tree | c29177c1cb942d80f41bca4168df2bdd5fcb4974 /cpu.cpp | |
parent | cd16435544d153f820c77a674a9ae4ac5f662e9e (diff) | |
download | cryptopp-git-5d688500414f138491f2ae0d298f9378656fde3c.tar.gz |
Re-enable SSE2 probes for Solaris
Fix VMAC-64 crash on 32-bit Solaris i86pc
Diffstat (limited to 'cpu.cpp')
-rw-r--r-- | cpu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -511,9 +511,9 @@ void DetectX86Features() #endif
// Solaris 11 i86pc does not signal SSE support using
- // OSXSAVE. We need to probe for SSE support. CR4 and
- // bit 18 is not available to userland.
- // TODO: cut something in when testing is available.
+ // OSXSAVE. We need to probe for SSE support.
+ if (g_hasSSE2 == false)
+ g_hasSSE2 = CPU_ProbeSSE2();
if (g_hasSSE2 == false)
goto done;
|