aboutsummaryrefslogtreecommitdiff
path: root/src/lj_opt_narrow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_opt_narrow.c')
-rw-r--r--src/lj_opt_narrow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_narrow.c b/src/lj_opt_narrow.c
index 28d3c255..ef0599c9 100644
--- a/src/lj_opt_narrow.c
+++ b/src/lj_opt_narrow.c
@@ -555,7 +555,7 @@ TRef lj_opt_narrow_unm(jit_State *J, TRef rc, TValue *vc)
555 return emitir(IRTGI(IR_SUBOV), lj_ir_kint(J, 0), rc); 555 return emitir(IRTGI(IR_SUBOV), lj_ir_kint(J, 0), rc);
556 rc = emitir(IRTN(IR_CONV), rc, IRCONV_NUM_INT); 556 rc = emitir(IRTN(IR_CONV), rc, IRCONV_NUM_INT);
557 } 557 }
558 return emitir(IRTN(IR_NEG), rc, lj_ir_knum_neg(J)); 558 return emitir(IRTN(IR_NEG), rc, lj_ir_ksimd(J, LJ_KSIMD_NEG));
559} 559}
560 560
561/* Narrowing of modulo operator. */ 561/* Narrowing of modulo operator. */