diff options
| author | Mike Pall <mike> | 2023-09-17 10:31:00 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2023-09-17 10:31:00 +0200 |
| commit | 7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01 (patch) | |
| tree | 3737b4db7387e56fc673e2700a7a065ff4e5bf56 | |
| parent | 42ca6e120feebca85f1618da1c80cfa80b1d63ca (diff) | |
| download | luajit-7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01.tar.gz luajit-7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01.tar.bz2 luajit-7a2b83a0c5d980bf3db0aeda33c79e7bb4b3da01.zip | |
IR_MIN/IR_MAX is non-commutative due to underlying FPU ops.
Thanks to Peter Cawley. #1082
| -rw-r--r-- | src/lj_ir.h | 4 |
1 files 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 @@ | |||
| 76 | \ | 76 | \ |
| 77 | _(ABS, N , ref, ref) \ | 77 | _(ABS, N , ref, ref) \ |
| 78 | _(LDEXP, N , ref, ref) \ | 78 | _(LDEXP, N , ref, ref) \ |
| 79 | _(MIN, C , ref, ref) \ | 79 | _(MIN, N , ref, ref) \ |
| 80 | _(MAX, C , ref, ref) \ | 80 | _(MAX, N , ref, ref) \ |
| 81 | _(FPMATH, N , ref, lit) \ | 81 | _(FPMATH, N , ref, lit) \ |
| 82 | \ | 82 | \ |
| 83 | /* Overflow-checking arithmetic ops. */ \ | 83 | /* Overflow-checking arithmetic ops. */ \ |
