From c49a0aa08d39763fc3c894638256d5b2090b8530 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 24 Jun 2005 16:32:10 +0000 Subject: [PATCH] Replace emms with finit in x86cpuid. --- crypto/x86cpuid.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 (); -- 2.25.1