From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id D46E46ECE3; Thu, 30 Jun 2022 15:20:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D46E46ECE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1656591651; bh=hTUjuhx/IeIzkMZHzfCPiSX9g61uwi9wJ1WUpi2dtMg=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=nRsdxJTVwZ0hmd62Eo8MSGE3+uyFteaw2+IjwPl9L4hSMwMVeE/v14M3OTbI/tJZi kcdwrWRvG2OI2dY2MQtWuL8LCg+GuB8vVEfT674LWC+bYjO0bB0t5DLjfai3u9ZTcc SGdVTD2fZC1Q2PvTlX+bxU1m/V2MPFXKYwYki7Dk= Received: from smtpng3.i.mail.ru (smtpng3.i.mail.ru [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 935F46DB11 for ; Thu, 30 Jun 2022 15:18:10 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 935F46DB11 Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1o6t7Z-0007Fv-Qi; Thu, 30 Jun 2022 15:18:10 +0300 Date: Thu, 30 Jun 2022 15:10:59 +0300 To: Sergey Ostanevich Message-ID: References: <804A99A3-6D0C-4DA9-A939-26FFED0EC823@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <804A99A3-6D0C-4DA9-A939-26FFED0EC823@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9F05DDD76985F9126D76547AB773229DD18E19CE8538291F4182A05F538085040B133C938BA30A9BA3C00FA04108AF44814249AB55ACC6A23491F394622E3B7CA X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CF4D16325FBE1EEDEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637B24541F05F0BFC9F8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8373432EDE82D0F33C1FCF473EE15B9C3117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364762BB6847A3DEAEFB0F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7CAA44A86D94E7BBB043847C11F186F3C59DAA53EE0834AAEE X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 9604B64F49C60606AD91A466A1DEF99B296C473AB1E14218C6CDE5D1141D2B1C63EBED25B40ECB4CC555A58853AEA81C4E5330B0F9AE2C21AD91A466A1DEF99B296C473AB1E14218B936CB490224F2464EEA7BD89490CAC0EDDA962BC3F61961 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34806D3522FB05EB399565583714636737B2AF51D873E35485C63903347468C8E95B736B4B7E68E2A21D7E09C32AA3244C0AB2D776069338132549B1B205978CEA39C99C45E8D137E9927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojhvrbUd41KJnGN4/aGN5AXg== X-Mailru-Sender: 689FA8AB762F7393CC2E0F076E87284E8F8E7B040DF8BC43CB43D932E3ED2CB6A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATH luajit] GC64: fix 64-bit constant fusion X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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 > 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 > -- Best regards, IM