提交 c49a0aa0 编写于 作者: A Andy Polyakov

Replace emms with finit in x86cpuid.

上级 5503b6a3
...@@ -130,9 +130,8 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } ...@@ -130,9 +130,8 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
&pxor ("xmm7","xmm7"); &pxor ("xmm7","xmm7");
&set_label("no_sse2"); &set_label("no_sse2");
} }
# just a bunch of fldz to zap the fp/mm bank... # just a bunch of fldz to zap the fp/mm bank followed by finit...
&data_word(0xeed9eed9,0xeed9eed9,0xeed9eed9,0xeed9eed9); &data_word(0xeed9eed9,0xeed9eed9,0xeed9eed9,0xeed9eed9,0x90e3db9b);
&emms ();
&set_label("no_x87"); &set_label("no_x87");
&lea ("eax",&DWP(4,"esp")); &lea ("eax",&DWP(4,"esp"));
&ret (); &ret ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册