SPLIT should pass through the hiword when droping 64/64 CONV

This commit is contained in:
Vyacheslav Egorov 2015-11-26 19:16:53 +01:00
parent 367cba29ea
commit 0134af4da6

View File

@ -472,6 +472,7 @@ static void split_ir(jit_State *J)
#endif
else if (st == IRT_I64 || st == IRT_U64) { /* 64/64 bit cast. */
/* Drop cast, since assembler doesn't care. */
hi = hiref; /* Pass through hiword. */
goto fwdlo;
} else if ((ir->op2 & IRCONV_SEXT)) { /* Sign-extend to 64 bit. */
IRRef k31 = lj_ir_kint(J, 31);