mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x86: Pop unused FP result from x87 stack.
This commit is contained in:
parent
b4cfaa62ac
commit
eb7b452d53
@ -1578,6 +1578,8 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
|
||||
lua_assert(!irt_ispri(ir->t));
|
||||
ra_destreg(as, ir, RID_RET);
|
||||
}
|
||||
} else if (LJ_32 && irt_isfp(ir->t)) {
|
||||
emit_x87op(as, XI_FPOP); /* Pop unused result from x87 st0. */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user