mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 700517 - Add "ret imm16" instruction for x86 and x86_64; r=dvander a=not-libxul
This commit is contained in:
parent
f9989fa0ef
commit
c37b2e0523
@ -226,6 +226,7 @@ private:
|
||||
OP_MOV_OvEAX = 0xA3,
|
||||
OP_MOV_EAXIv = 0xB8,
|
||||
OP_GROUP2_EvIb = 0xC1,
|
||||
OP_RET_Iz = 0xC2,
|
||||
OP_RET = 0xC3,
|
||||
OP_GROUP11_EvIb = 0xC6,
|
||||
OP_GROUP11_EvIz = 0xC7,
|
||||
@ -2302,6 +2303,15 @@ public:
|
||||
m_formatter.oneByteOp(OP_RET);
|
||||
}
|
||||
|
||||
void ret(int imm)
|
||||
{
|
||||
js::JaegerSpew(js::JSpew_Insns,
|
||||
IPFX "ret %d\n", MAYBE_PAD,
|
||||
imm);
|
||||
m_formatter.oneByteOp(OP_RET_Iz);
|
||||
m_formatter.immediate16(imm);
|
||||
}
|
||||
|
||||
void predictNotTaken()
|
||||
{
|
||||
FIXME_INSN_PRINTING;
|
||||
|
Loading…
Reference in New Issue
Block a user