diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 4187a1d9..3d9a213b 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1516,6 +1516,14 @@ static void asm_setup_regsp(ASMState *as) | |||
1516 | #endif | 1516 | #endif |
1517 | break; | 1517 | break; |
1518 | #endif | 1518 | #endif |
1519 | #if LJ_NEED_FP64 | ||
1520 | case IR_CONV: | ||
1521 | if (irt_isfp((ir-1)->t)) { | ||
1522 | ir->prev = REGSP_HINT(RID_FPRET); | ||
1523 | continue; | ||
1524 | } | ||
1525 | /* fallthrough */ | ||
1526 | #endif | ||
1519 | case IR_CALLN: case IR_CALLXS: | 1527 | case IR_CALLN: case IR_CALLXS: |
1520 | #if LJ_SOFTFP | 1528 | #if LJ_SOFTFP |
1521 | case IR_MIN: case IR_MAX: | 1529 | case IR_MIN: case IR_MAX: |