From: Mike Pall Date: Sun, 17 Sep 2023 08:31:00 +0000 (+0200) Subject: IR_MIN/IR_MAX is non-commutative due to underlying FPU ops. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01;p=thirdparty%2FLuaJIT.git IR_MIN/IR_MAX is non-commutative due to underlying FPU ops. Thanks to Peter Cawley. #1082 --- 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. */ \