mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
FFI: Fix SPLIT pass for CONV i64.u64.
Thanks to Vyacheslav Egorov.
This commit is contained in:
parent
367cba29ea
commit
3d4c9f9639
@ -471,7 +471,8 @@ static void split_ir(jit_State *J)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if (st == IRT_I64 || st == IRT_U64) { /* 64/64 bit cast. */
|
else if (st == IRT_I64 || st == IRT_U64) { /* 64/64 bit cast. */
|
||||||
/* Drop cast, since assembler doesn't care. */
|
/* Drop cast, since assembler doesn't care. But fwd both parts. */
|
||||||
|
hi = hiref;
|
||||||
goto fwdlo;
|
goto fwdlo;
|
||||||
} else if ((ir->op2 & IRCONV_SEXT)) { /* Sign-extend to 64 bit. */
|
} else if ((ir->op2 & IRCONV_SEXT)) { /* Sign-extend to 64 bit. */
|
||||||
IRRef k31 = lj_ir_kint(J, 31);
|
IRRef k31 = lj_ir_kint(J, 31);
|
||||||
|
Loading…
Reference in New Issue
Block a user