OSDN Git Service

x86 mterp: reduce x86/x86-atom differences
[android-x86/dalvik.git] / vm / mterp / x86 / OP_CONST_16.S
index d45f1c1..df3d423 100644 (file)
@@ -1,8 +1,8 @@
 %verify "executed"
     /* const/16 vAA, #+BBBB */
     movswl  2(rPC),%ecx                # ecx<- ssssBBBB
-    movzx   rINST_HI,%eax              # eax<- AA
-    FETCH_INST_WORD(2)
-    ADVANCE_PC(2)
-    SET_VREG(%ecx,%eax)                # vAA<- ssssBBBB
-    GOTO_NEXT
+    movl    rINST,%eax                 # eax<- AA
+    FETCH_INST_OPCODE 2 %edx
+    ADVANCE_PC 2
+    SET_VREG %ecx %eax                 # vAA<- ssssBBBB
+    GOTO_NEXT_R %edx