diff options
| author | weidai <weidai11@users.noreply.github.com> | 2009-04-05 20:01:05 +0000 |
|---|---|---|
| committer | weidai <weidai11@users.noreply.github.com> | 2009-04-05 20:01:05 +0000 |
| commit | 21e2d55f9d5a0be0ef6b2a0444312d16fa551671 (patch) | |
| tree | 1295021139030908b1a45b1a2410c9aa713a5409 /panama.cpp | |
| parent | 5b809d7931933648858a5ae6f45299a4b2083b04 (diff) | |
| download | cryptopp-git-21e2d55f9d5a0be0ef6b2a0444312d16fa551671.tar.gz | |
disable Panama SSE2 code for P4
Diffstat (limited to 'panama.cpp')
| -rw-r--r-- | panama.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ void PanamaCipherPolicy<B>::CipherResynchronize(byte *keystreamBuffer, const byt } #if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE) - if (B::ToEnum() == LITTLE_ENDIAN_ORDER && HasSSE2()) + if (B::ToEnum() == LITTLE_ENDIAN_ORDER && HasSSE2() && !IsP4()) // SSE2 code is slower on P4 Prescott Panama_SSE2_Pull(32, this->m_state, NULL, NULL); else #endif |
