[Tarantool-patches] [PATCH luajit 0/2] Fix assembling of the head of side traces

Sergey Kaplun skaplun at tarantool.org
Wed Oct 11 18:04:08 MSK 2023


Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1016-1031-asm-head-side
Tarantool PR: https://github.com/tarantool/tarantool/pull/9252
Related Issues:
* https://github.com/LuaJIT/LuaJIT/issues/1016
* https://github.com/LuaJIT/LuaJIT/issues/1031
* https://github.com/tarantool/tarantool/issues/8767
* https://github.com/tarantool/tarantool/issues/9145

The reproducer in 8767 doesn't fail anymore after the second patch.
Also, the box/bitset.test.lua doesn't fail either.

Mike Pall (2):
  Fix register mask for stack check in head of side trace.
  Fix base register coalescing in side trace.

 src/lj_asm.c                                  |  11 +-
 src/lj_asm_arm.h                              |   7 +-
 src/lj_asm_arm64.h                            |   7 +-
 src/lj_asm_mips.h                             |   8 +-
 src/lj_asm_ppc.h                              |   8 +-
 src/lj_asm_x86.h                              |   8 +-
 .../lj-1031-asm-head-side-base-reg.test.lua   | 139 ++++++++++++++++++
 7 files changed, 166 insertions(+), 22 deletions(-)
 create mode 100644 test/tarantool-tests/lj-1031-asm-head-side-base-reg.test.lua

-- 
2.42.0



More information about the Tarantool-patches mailing list