diff options
author | Mike Pall <mike> | 2011-10-22 01:59:10 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-10-22 01:59:10 +0200 |
commit | c805a49d304c344d69630a4282d21d753c70e1bd (patch) | |
tree | cb3aa44be781e82fcca3c9a82ccbe48176cba109 /src/lj_asm.c | |
parent | ff7f7a7180d25da9d425671a48867b50bb7e7ac2 (diff) | |
download | luajit-c805a49d304c344d69630a4282d21d753c70e1bd.tar.gz luajit-c805a49d304c344d69630a4282d21d753c70e1bd.tar.bz2 luajit-c805a49d304c344d69630a4282d21d753c70e1bd.zip |
Separate/rename NUM/FLOAT <-> I64/U64 conversion functions.
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: |