[Tarantool-patches] [PATH luajit] GC64: fix 64-bit constant fusion
    Igor Munkin 
    imun at tarantool.org
       
    Thu Jun 30 15:10:59 MSK 2022
    
    
  
Sergos,
I've checked the patch into all long-term branches in tarantool/luajit
and bumped a new version in master, 2.10 and 1.10.
On 28.05.21, Sergey Ostanevich wrote:
> Author: Mike Pall <mike>
> Date:   Mon Aug 28 10:43:37 2017 +0200
> 
>     x64/LJ_GC64: Fix fallback case of asm_fuseloadk64().
> 
>     Contributed by Peter Cawley.
> 
>     (cherry picked from commit 6b0824852677cc12570c20a3211fbfe0e4f0ce14)
> 
>     Code generation under LJ_GC64 missed an update to the mcode area after
>     a 64bit constant encoding. This lead to a corruption to the constant
>     later on.
>     The problem is rather rare, since there should be big enough (4GiB)
>     distance from the currently allocated mcode to the dispatch pointer.
>     This lead to a number of flaky tests, trackers are addressed.
> 
>     Sergey Ostanevich:
>     * added the description and the test for the problem
> 
>     Closes: #4095, #4199, #4614
> 
>     Signed-off-by: Sergey Ostanevich <sergos at tarantool.org>
> 
<snipped>
-- 
Best regards,
IM
    
    
More information about the Tarantool-patches
mailing list