Replace emms with finit in x86cpuid.
authorAndy Polyakov <appro@openssl.org>
Fri, 24 Jun 2005 16:32:10 +0000 (16:32 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 24 Jun 2005 16:32:10 +0000 (16:32 +0000)
crypto/x86cpuid.pl

index 3d5d16bb643aae405a124cd8b81127f939684ad6..4a58651f0f9d4326971d7ffaf468786b2647c36a 100644 (file)
@@ -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    ();