[Tarantool-patches] [PATCH luajit 0/3] Generation of immediates and TBAR fusion

Sergey Bronnikov sergeyb at tarantool.org
Mon Aug 25 18:26:55 MSK 2025


Hi, Sergey!

LGTM patch series

On 7/24/25 12:03, Sergey Kaplun wrote:
> The first 2 patches are required to avoid conflicts with the last one
> patch. The last patch fixes incorrect fusion of instructions across IR,
> which leads to incorrect label target.
>
> Related issues:
> *https://github.com/tarantool/tarantool/issues/11691
> *https://github.com/LuaJIT/LuaJIT/issues/1057
>
> Mike Pall (3):
>    ARM64: Improve generation of immediates.
>    ARM64: More improvements to the generation of immediates.
>    ARM64: Prevent STP fusion for conditional code emitted by TBAR.
>
>   src/lj_asm.c                                  |  3 +
>   src/lj_asm_arm64.h                            | 26 +++---
>   src/lj_emit_arm64.h                           | 66 ++++++++--------
>   ...1057-arm64-stp-fusing-across-tbar.test.lua | 79 +++++++++++++++++++
>   4 files changed, 126 insertions(+), 48 deletions(-)
>   create mode 100644 test/tarantool-tests/lj-1057-arm64-stp-fusing-across-tbar.test.lua
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20250825/7b271df6/attachment.htm>


More information about the Tarantool-patches mailing list