From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 2/5] FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
Date: Thu, 4 Jun 2026 12:46:01 +0300 [thread overview]
Message-ID: <aiFJWYLf6O2L6-Ju@root> (raw)
In-Reply-To: <ef0938ef-c671-4885-8b01-c491d9d6bb88@tarantool.org>
Hi, Sergey!
Thanks for the review!
Fixed your comment.
On 01.06.26, Sergey Bronnikov wrote:
> Hi, Sergey,
>
> thanks for the patch! LGTM with two minor comments.
>
> Sergey
>
> On 5/30/26 19:04, Sergey Kaplun wrote:
<snipped>
> > +float test_float_stack(float f1, float f2, float f3, float f4, float f5,
> > + float f6, float f7, float f8, float f9, float f10,
> > + float f11)
> > +{
> > + return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11;
> > +}
> > +
> newline is not needed
Removed:
===================================================================
diff --git a/test/tarantool-tests/ffi-ccall/libfficcall.c b/test/tarantool-tests/ffi-ccall/libfficcall.c
index fd2d4711..91187190 100644
--- a/test/tarantool-tests/ffi-ccall/libfficcall.c
+++ b/test/tarantool-tests/ffi-ccall/libfficcall.c
@@ -76,4 +76,3 @@ float test_float_stack(float f1, float f2, float f3, float f4, float f5,
{
return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11;
}
-
===================================================================
> > diff --git a/test/tarantool-tests/gh-6097-arm64-osx-ffi-vararg.test.lua b/test/tarantool-tests/gh-6097-arm64-osx-ffi-vararg.test.lua
> > new file mode 100644
> > index 00000000..fc44d253
> > --- /dev/null
> > +++ b/test/tarantool-tests/gh-6097-arm64-osx-ffi-vararg.test.lua
<snipped>
> > +
> > +local results = {}
> > +for i = 1, 4 do
> > + local strlen = ffi.C.sprintf(str, '%d', 1LL)
> honestly, I didn't get why the resulted buffer is named "strlen". The
> same is below.
See `man sprintf'.
> > + assert(strlen == EXPECTED_LEN, 'correct string length for result')
<snipped>
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2026-06-04 9:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-30 16:04 [Tarantool-patches] [PATCH luajit 0/5] Various FFI ABI calling conventions fixes Sergey Kaplun via Tarantool-patches
2026-05-30 16:04 ` [Tarantool-patches] [PATCH luajit 1/5] FFI: Unify stack setup for C calls in interpreter Sergey Kaplun via Tarantool-patches
2026-06-05 14:18 ` Sergey Bronnikov via Tarantool-patches
2026-05-30 16:04 ` [Tarantool-patches] [PATCH luajit 2/5] FFI/ARM64/OSX: Handle non-standard OSX C calling conventions Sergey Kaplun via Tarantool-patches
2026-06-01 11:40 ` Sergey Bronnikov via Tarantool-patches
2026-06-04 9:46 ` Sergey Kaplun via Tarantool-patches [this message]
2026-06-05 14:12 ` Sergey Bronnikov via Tarantool-patches
2026-05-30 16:04 ` [Tarantool-patches] [PATCH luajit 3/5] ARM64: Fix pass-by-value struct " Sergey Kaplun via Tarantool-patches
2026-06-01 12:27 ` Sergey Bronnikov via Tarantool-patches
2026-06-04 10:05 ` Sergey Kaplun via Tarantool-patches
2026-06-05 14:14 ` Sergey Bronnikov via Tarantool-patches
2026-05-30 16:04 ` [Tarantool-patches] [PATCH luajit 4/5] FFI: Various ABI and calling convention fixes Sergey Kaplun via Tarantool-patches
2026-06-01 13:02 ` Sergey Bronnikov via Tarantool-patches
2026-06-04 12:06 ` Sergey Kaplun via Tarantool-patches
2026-06-05 14:15 ` Sergey Bronnikov via Tarantool-patches
2026-05-30 16:04 ` [Tarantool-patches] [PATCH luajit 5/5] FFI/MacOS: Fix calling convention for enums Sergey Kaplun via Tarantool-patches
2026-06-01 13:07 ` Sergey Bronnikov via Tarantool-patches
2026-06-02 16:04 ` [Tarantool-patches] [PATCH luajit 0/5] Various FFI ABI calling conventions fixes Evgeniy Temirgaleev 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=aiFJWYLf6O2L6-Ju@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 2/5] FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.' \
/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