From 7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 17 Sep 2023 10:31:00 +0200 Subject: [PATCH] IR_MIN/IR_MAX is non-commutative due to underlying FPU ops. Thanks to Peter Cawley. #1082 --- src/lj_ir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lj_ir.h b/src/lj_ir.h index b32bd095..dbfba258 100644 --- a/src/lj_ir.h +++ b/src/lj_ir.h @@ -76,8 +76,8 @@ \ _(ABS, N , ref, ref) \ _(LDEXP, N , ref, ref) \ - _(MIN, C , ref, ref) \ - _(MAX, C , ref, ref) \ + _(MIN, N , ref, ref) \ + _(MAX, N , ref, ref) \ _(FPMATH, N , ref, lit) \ \ /* Overflow-checking arithmetic ops. */ \ -- 2.11.4.GIT