From 43ebb949a249a16c49d232ad24dc9127cc4302bb Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 20 Mar 2022 11:29:17 +0100 Subject: [PATCH] Fix soft-float IR_POW splitting. Reported by lison0322. --- src/lj_opt_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_opt_split.c b/src/lj_opt_split.c index 18937c30..506b9814 100644 --- a/src/lj_opt_split.c +++ b/src/lj_opt_split.c @@ -400,7 +400,7 @@ static void split_ir(jit_State *J) hi = split_call_ll(J, hisubst, oir, ir, IRCALL_softfp_div); break; case IR_POW: - hi = split_call_li(J, hisubst, oir, ir, IRCALL_pow); + hi = split_call_ll(J, hisubst, oir, ir, IRCALL_pow); break; case IR_FPMATH: hi = split_call_l(J, hisubst, oir, ir, IRCALL_lj_vm_floor + ir->op2);