From: Andy Polyakov Date: Fri, 24 Jun 2005 16:32:10 +0000 (+0000) Subject: Replace emms with finit in x86cpuid. X-Git-Tag: OpenSSL_0_9_8k^2~1974 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=c49a0aa08d39763fc3c894638256d5b2090b8530;hp=5503b6a3528fa70bf9271929bf58455585eda8b6 Replace emms with finit in x86cpuid. --- diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index 3d5d16bb64..4a58651f0f 100644 --- a/crypto/x86cpuid.pl +++ b/crypto/x86cpuid.pl @@ -130,9 +130,8 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &pxor ("xmm7","xmm7"); &set_label("no_sse2"); } - # just a bunch of fldz to zap the fp/mm bank... - &data_word(0xeed9eed9,0xeed9eed9,0xeed9eed9,0xeed9eed9); - &emms (); + # just a bunch of fldz to zap the fp/mm bank followed by finit... + &data_word(0xeed9eed9,0xeed9eed9,0xeed9eed9,0xeed9eed9,0x90e3db9b); &set_label("no_x87"); &lea ("eax",&DWP(4,"esp")); &ret ();