Separate/rename NUM/FLOAT <-> I64/U64 conversion functions.

This commit is contained in:
Mike Pall
2011-10-22 01:59:10 +02:00
parent ff7f7a7180
commit c805a49d30
3 changed files with 72 additions and 36 deletions

View File

@@ -1515,6 +1515,14 @@ static void asm_setup_regsp(ASMState *as)
}
#endif
break;
#endif
#if LJ_NEED_FP64
case IR_CONV:
if (irt_isfp((ir-1)->t)) {
ir->prev = REGSP_HINT(RID_FPRET);
continue;
}
/* fallthrough */
#endif
case IR_CALLN: case IR_CALLXS:
#if LJ_SOFTFP