From c2cd1714fac5413016c820851dfc21c3215b3e67 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 8 Sep 2009 23:15:49 -0500 Subject: [PATCH] fix set_x87_env assembly code for x86.32 --- vm/cpu-x86.32.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vm/cpu-x86.32.S b/vm/cpu-x86.32.S index f308bf0b92..0c4166cfe5 100644 --- a/vm/cpu-x86.32.S +++ b/vm/cpu-x86.32.S @@ -75,12 +75,8 @@ DEF(void,get_x87_env,(void*)): DEF(void,set_x87_env,(const void*)): movl 4(%esp), %eax - fldcw 2(%eax) - movb 4(%eax), %dl - test %dl, %dl - jz 1f fnclex -1: + fldcw 2(%eax) ret #include "cpu-x86.S"