Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/3] Fix fix-mips64-spare-side-exit-patching
@ 2023-09-04 15:50 Sergey Kaplun via Tarantool-patches
  2023-09-04 15:50 ` [Tarantool-patches] [PATCH luajit 1/3] MIPS: Fix "bad FP FLOAD" assertion Sergey Kaplun via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2023-09-04 15:50 UTC (permalink / raw)
  To: Maxim Kokryashkin, Sergey Bronnikov; +Cc: tarantool-patches

This patchset includes 3 pathes to make our tests great again:
1) 'MIPS: Fix "bad FP FLOAD" assertion.' is needed for easier testing
   the patch's correctness (that test still reproduces the problem on
   MIPS). The patch itself is trivial, as is the test for it.
2) 'test: fix `fillmcode()` generator helper' fixes the correctness of
   fillmcode logic -- somehow the condition of `while` cycle for mcode
   generation was inverted.
3) 'test: fix fix-mips64-spare-side-exit-patching' fixes the possible
   misbehaviours in the test itself (they were more likely observed before
   the second patch but still needed to be fixed).

Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-noticket-fix-flaky-mips-spare-exit
Tarantool PR: https://github.com/tarantool/tarantool/pull/9090
Related issues for the first patch:
* https://github.com/LuaJIT/LuaJIT/issues/1043
* https://github.com/tarantool/tarantool/issues/8825

Mike Pall (1):
  MIPS: Fix "bad FP FLOAD" assertion.

Sergey Kaplun (2):
  test: fix `fillmcode()` generator helper
  test: fix fix-mips64-spare-side-exit-patching

 src/lj_asm_mips.h                             |  2 +-
 ...x-mips64-spare-side-exit-patching.test.lua | 22 ++++++++++++++---
 .../lj-1043-asm-fload.test.lua                | 24 +++++++++++++++++++
 test/tarantool-tests/utils/jit/generators.lua |  7 +++---
 4 files changed, 47 insertions(+), 8 deletions(-)
 create mode 100644 test/tarantool-tests/lj-1043-asm-fload.test.lua

-- 
2.42.0


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

end of thread, other threads:[~2023-09-27 12:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 15:50 [Tarantool-patches] [PATCH luajit 0/3] Fix fix-mips64-spare-side-exit-patching Sergey Kaplun via Tarantool-patches
2023-09-04 15:50 ` [Tarantool-patches] [PATCH luajit 1/3] MIPS: Fix "bad FP FLOAD" assertion Sergey Kaplun via Tarantool-patches
2023-09-05  7:05   ` Maxim Kokryashkin via Tarantool-patches
2023-09-26 18:58   ` Igor Munkin via Tarantool-patches
2023-09-04 15:50 ` [Tarantool-patches] [PATCH luajit 2/3] test: fix `fillmcode()` generator helper Sergey Kaplun via Tarantool-patches
2023-09-05  7:06   ` Maxim Kokryashkin via Tarantool-patches
2023-09-26 18:58   ` Igor Munkin via Tarantool-patches
2023-09-04 15:50 ` [Tarantool-patches] [PATCH luajit 3/3] test: fix fix-mips64-spare-side-exit-patching Sergey Kaplun via Tarantool-patches
2023-09-05  8:56   ` Maxim Kokryashkin via Tarantool-patches
2023-09-05 11:16     ` Sergey Kaplun via Tarantool-patches
2023-09-26 18:59   ` Igor Munkin via Tarantool-patches
2023-09-27 12:33 ` [Tarantool-patches] [PATCH luajit 0/3] Fix fix-mips64-spare-side-exit-patching Igor Munkin 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