summaryrefslogtreecommitdiffstats
path: root/crypto/x86cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-24 18:32:10 +0200
committerAndy Polyakov <appro@openssl.org>2005-06-24 18:32:10 +0200
commitc49a0aa08d39763fc3c894638256d5b2090b8530 (patch)
treeb77c93398a031f4411ddf398cf1cc8292341e0c2 /crypto/x86cpuid.pl
parentAdd Argen root CAs. (diff)
downloadopenssl-c49a0aa08d39763fc3c894638256d5b2090b8530.tar.xz
openssl-c49a0aa08d39763fc3c894638256d5b2090b8530.zip
Replace emms with finit in x86cpuid.
Diffstat (limited to 'crypto/x86cpuid.pl')
-rw-r--r--crypto/x86cpuid.pl5
1 files 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 ();