From: Andy Polyakov Date: Fri, 24 Jun 2005 16:34:46 +0000 (+0000) Subject: Replace emms with finit in x86cpuid. X-Git-Tag: OpenSSL_0_9_8~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff0bfe64afba760a245c5ede2e4cf25592128b34;p=oweals%2Fopenssl.git 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 ();