mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Update vm_s390x.dasc
used MOVE LONG EXTENDED in place of mov and MOVE LONG instead of movzx
This commit is contained in:
parent
5887962b0e
commit
372f721e60
@ -180,21 +180,16 @@
|
|||||||
|// Call decode and dispatch.
|
|// Call decode and dispatch.
|
||||||
|.macro ins_callt
|
|.macro ins_callt
|
||||||
| // BASE = new base, RB = LFUNC, RD = nargs+1, [BASE-4] = PC
|
| // BASE = new base, RB = LFUNC, RD = nargs+1, [BASE-4] = PC
|
||||||
| mov PC, LFUNC:RB->pc
|
| mvcle PC, LFUNC:RB->pc
|
||||||
| mov RA, [PC]
|
| mvcle RA, [PC]
|
||||||
| movzx OP, RAL
|
| movcl OP, RAL
|
||||||
| movzx RA, RAH
|
| movcl RA, RAH
|
||||||
| add PC, 4
|
| add PC, 4
|
||||||
|.if X64
|
|
||||||
| jmp aword [DISPATCH+OP*8]
|
|
||||||
|.else
|
|
||||||
| jmp aword [DISPATCH+OP*4]
|
|
||||||
|.endif
|
|
||||||
|.endmacro
|
|.endmacro
|
||||||
|
|
|
|
||||||
|.macro ins_call
|
|.macro ins_call
|
||||||
| // BASE = new base, RB = LFUNC, RD = nargs+1
|
| // BASE = new base, RB = LFUNC, RD = nargs+1
|
||||||
| mov [BASE-4], PC
|
| mvcle [BASE-4], PC
|
||||||
| ins_callt
|
| ins_callt
|
||||||
|.endmacro
|
|.endmacro
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user