提交 5f50d597 编写于 作者: A Andy Polyakov

Make sure x86-mont.pl returns zero even if compiled with no-sse2.

上级 df94f187
......@@ -60,7 +60,6 @@ $mask="mm7";
if($sse2) {
&picmeup("eax","OPENSSL_ia32cap_P");
&bt (&DWP(0,"eax"),26);
&mov ("eax",0); # zero signals "we did nothing"
&jnc (&label("non_sse2"));
################################# load argument block...
......@@ -232,9 +231,13 @@ if($sse2) {
&set_label("exit_sse2");
&mov ("esp",$_sp); # pull saved stack pointer
&mov ("eax",1);
&jmp (&label("leave"));
&set_label("non_sse2");
}
&xor ("eax","eax"); # zero signals "not implemented [yet]"
&set_label("leave");
&function_end("bn_mul_mont");
&asm_finish();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册