OSDN Git Service

x86 mterp: reduce x86/x86-atom differences
[android-x86/dalvik.git] / vm / mterp / x86 / OP_REM_DOUBLE.S
index 809ac0a..bad3e22 100644 (file)
@@ -4,14 +4,14 @@
     movzbl   2(rPC),%eax            # eax<- CC
     fldl     (rFP,%ecx,4)           # vCC to fp stack
     fldl     (rFP,%eax,4)           # vCC to fp stack
-    movzbl   rINST_HI,%ecx          # ecx<- AA
-    FETCH_INST_WORD(2)
+    movzbl   rINSTbl,%ecx           # ecx<- AA
+    FETCH_INST_OPCODE 2 %edx
 1:
     fprem
     fstsw     %ax
     sahf
     jp        1b
     fstp      %st(1)
-    ADVANCE_PC(2)
+    ADVANCE_PC 2
     fstpl    (rFP,%ecx,4)           # %st to vAA
-    GOTO_NEXT
+    GOTO_NEXT_R %edx