Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Bronnikov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Kaplun <skaplun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 2/3] ARM64: More improvements to the generation of immediates.
Date: Mon, 25 Aug 2025 17:21:29 +0300	[thread overview]
Message-ID: <73234419-5e68-45cb-ac13-da2b103ee26e@tarantool.org> (raw)
In-Reply-To: <0183aa1f346bf87d8e626274323c87e2291e75bf.1753344905.git.skaplun@tarantool.org>

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

Hi, Sergey!

thanks for the patch!

In general LGTM, I would suggest fixing the description in commit message.

See below.

Sergey

On 7/24/25 12:03, Sergey Kaplun wrote:
> From: Mike Pall <mike>
>
> (cherry picked from commit 69138082a3166105faa8cbb25fadb1e4298686c0)
>
> This patch refactors the emitting of immediates for the arm64
> architecture. The main changes are the following:
> * Use `emit_getgl()`, `emit_setgl()` instead of `emit_lso()`, where it
>    is possible, since it makes the code cleaner.
> * The `RID_GL` is allocated for `g` at the start of the trace emitting.
>    Also, this register is considered as a candidate to be used as a base
>    for the N-step offset in `emit_kdelta()`.
> * The address of `tmptv` is not rematerialized to the register from the
>    constant not. It is calculated via the adding the corresponding
>    offset to `RID_GL`.
it is not clear for me what for hunks with `emit_dm` are needed.

<snipped>

[-- Attachment #2: Type: text/html, Size: 1482 bytes --]

  reply	other threads:[~2025-08-25 14:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-24  9:03 [Tarantool-patches] [PATCH luajit 0/3] Generation of immediates and TBAR fusion Sergey Kaplun via Tarantool-patches
2025-07-24  9:03 ` [Tarantool-patches] [PATCH luajit 1/3] ARM64: Improve generation of immediates Sergey Kaplun via Tarantool-patches
2025-08-25 15:26   ` Sergey Bronnikov 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-08-25 14:21   ` Sergey Bronnikov via Tarantool-patches [this message]
2025-08-27  9:08     ` 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
2025-08-25 15:12   ` Sergey Bronnikov via Tarantool-patches
2025-08-08 14:28 ` [Tarantool-patches] [PATCH luajit 0/3] Generation of immediates and TBAR fusion Sergey Bronnikov via Tarantool-patches
2025-08-25 15:26 ` Sergey Bronnikov 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=73234419-5e68-45cb-ac13-da2b103ee26e@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit 2/3] ARM64: More improvements to the generation of immediates.' \
    /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