Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/4] Fixes for load fusing optimization
@ 2025-01-10 13:07 Sergey Kaplun via Tarantool-patches
  2025-01-10 13:07 ` [Tarantool-patches] [PATCH luajit 1/4] x86/x64: Don't fuse loads across table.clear Sergey Kaplun via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2025-01-10 13:07 UTC (permalink / raw)
  To: Sergey Bronnikov; +Cc: tarantool-patches

The patch set fixes load fusing optimization by preventing it across:
* `table.clear()` (1st, 2nd, 4th commits)
* `IR_NEWREF` (3rd commit)

Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1117-loads-fusion
Related issues:
* https://github.com/LuaJIT/LuaJIT/issues/1117
* https://github.com/tarantool/tarantool/issues/10709

Mike Pall (4):
  x86/x64: Don't fuse loads across table.clear.
  Improve last commit.
  x86/x64: Don't fuse loads across IR_NEWREF.
  Fix last commit.

 src/lj_asm_x86.h                              | 16 +++---
 .../lj-1117-fuse-across-newref.test.lua       | 52 +++++++++++++++++++
 .../lj-1117-fuse-across-table-clear.test.lua  | 36 +++++++++++++
 3 files changed, 97 insertions(+), 7 deletions(-)
 create mode 100644 test/tarantool-tests/lj-1117-fuse-across-newref.test.lua
 create mode 100644 test/tarantool-tests/lj-1117-fuse-across-table-clear.test.lua

-- 
2.47.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-14 14:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-10 13:07 [Tarantool-patches] [PATCH luajit 0/4] Fixes for load fusing optimization Sergey Kaplun via Tarantool-patches
2025-01-10 13:07 ` [Tarantool-patches] [PATCH luajit 1/4] x86/x64: Don't fuse loads across table.clear Sergey Kaplun via Tarantool-patches
2025-01-14 14:10   ` Sergey Bronnikov via Tarantool-patches
2025-01-10 13:07 ` [Tarantool-patches] [PATCH luajit 2/4] Improve last commit Sergey Kaplun via Tarantool-patches
2025-01-14 14:11   ` Sergey Bronnikov via Tarantool-patches
2025-01-10 13:07 ` [Tarantool-patches] [PATCH luajit 3/4] x86/x64: Don't fuse loads across IR_NEWREF Sergey Kaplun via Tarantool-patches
2025-01-14 14:15   ` Sergey Bronnikov via Tarantool-patches
2025-01-10 13:07 ` [Tarantool-patches] [PATCH luajit 4/4] Fix last commit Sergey Kaplun via Tarantool-patches
2025-01-14 14:15   ` Sergey Bronnikov via Tarantool-patches

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