[Tarantool-patches] [PATCH luajit v4 0/3] fix math.min/max inconsistencies
Maxim Kokryashkin
max.kokryashkin at gmail.com
Wed Mar 30 02:48:53 MSK 2022
Changes in v4:
- Added tests for all patches.
- Added more informative description for the last patch.
GitHub branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-6163-min-max
Issue: https://github.com/tarantool/tarantool/issues/6163
Maxim Kokryashkin (1):
Cleanup math function compilation and fix inconsistencies.
Mike Pall (2):
Fix math.min()/math.max() inconsistencies.
Don't compile math.modf() anymore.
src/lib_math.c | 24 ++---
src/lj_asm.c | 6 --
src/lj_asm_arm.h | 7 +-
src/lj_asm_arm64.h | 7 +-
src/lj_asm_x86.h | 2 -
src/lj_ffrecord.c | 35 +------
src/lj_ir.h | 4 +-
src/lj_ircall.h | 14 ++-
src/lj_opt_fold.c | 78 ++++++++-------
src/lj_opt_split.c | 3 -
src/lj_target_x86.h | 6 --
src/lj_vmmath.c | 10 +-
src/vm_arm.dasc | 4 +-
src/vm_arm64.dasc | 4 +-
src/vm_x64.dasc | 2 +-
src/vm_x86.dasc | 2 +-
.../gh-6163-jit-min-max.test.lua | 96 +++++++++++++++++++
17 files changed, 177 insertions(+), 127 deletions(-)
create mode 100644 test/tarantool-tests/gh-6163-jit-min-max.test.lua
--
2.35.1
More information about the Tarantool-patches
mailing list