Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit 0/3] Generation of immediates and TBAR fusion
Date: Thu, 24 Jul 2025 12:03:57 +0300	[thread overview]
Message-ID: <cover.1753344905.git.skaplun@tarantool.org> (raw)

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

-- 
2.50.0


             reply	other threads:[~2025-07-24  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-24  9:03 Sergey Kaplun via Tarantool-patches [this message]
2025-07-24  9:03 ` [Tarantool-patches] [PATCH luajit 1/3] ARM64: Improve generation of immediates Sergey Kaplun via Tarantool-patches
2025-07-24  9:03 ` [Tarantool-patches] [PATCH luajit 2/3] ARM64: More improvements to the " Sergey Kaplun via Tarantool-patches
2025-07-24  9:04 ` [Tarantool-patches] [PATCH luajit 3/3] ARM64: Prevent STP fusion for conditional code emitted by TBAR Sergey Kaplun via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1753344905.git.skaplun@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit 0/3] Generation of immediates and TBAR fusion' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox