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 364ABCF2D97; Wed, 2 Oct 2024 11:09:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 364ABCF2D97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1727856579; bh=pZMu0nYCwkwhgquAwTwYwQW/2QZXAnhcJTeo9Of74og=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=CPqc1RfobI1k2wa/Ry16AYQkl5oMbEwtuB8kbeoxssTv/R/9sPMKCl6fnW0IjhgrL bV34wRQWCUnXzNAdhzp+jYsJR9nXEaeeJB6np0fTVyW5kykeHzNd7cew/87K6LYdF8 BtEPpD07Tirg5CigiAbDhoFKJE18CdkBj8n1+bpA= Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [95.163.41.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id C500B685240 for ; Wed, 2 Oct 2024 11:09:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C500B685240 Received: by exim-smtp-5858d4dbf5-4gl25 with esmtpa (envelope-from ) id 1svuQS-000000009d0-2ei1; Wed, 02 Oct 2024 11:09:36 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Wed, 2 Oct 2024 11:09:04 +0300 Message-ID: X-Mailer: git-send-email 2.46.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD964E86F54238FCC39A693F683E164C456368C50858DEB793C182A05F538085040CBCA75CB48D20B743DE06ABAFEAF6705E23733ECE2DD07E262434EF88ABBD523A5CBAC82CA3D0FCF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE782A779A89F7D69B2C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE70C67A935DAC0BD7CEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B043BF0FB74779F36A393C68CA1A337A22288F9B2722DBC4861B291B82F84940FA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7E4CD18687D5AE3809FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C311471C67CF6D96D5117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CF2732327C85447987BA3038C0950A5D36C8A9BA7A39EFB766D91E3A1F190DE8FDBA3038C0950A5D36D5E8D9A59859A8B6A7EDCBCC6FF6177876E601842F6C81A1F004C906525384303E02D724532EE2C3F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7CE0F3BA37685B2B9043847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A5DC636A7F362737405002B1117B3ED6962E9682466A59A167F09842853758E9E5823CB91A9FED034534781492E4B8EEAD2739D626790C8313C79554A2A72441328621D336A7BC284946AD531847A6065AE478A468B35FE767BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF199A24F16611D9BD22B283423F94C8B942FB8D94B7790F2F35CA70B54DD27D6B4D6692FC0148BA75A06F21331F7F71AFD42AD59B11A2071820289672AD59FC02983FB530DCC4F706C226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojHMr0s/SL0PXwfgedN/mc+A== X-Mailru-Sender: 520A125C2F17F0B1A9638AD358559B592B96A7FAEE8AC5B13DE06ABAFEAF6705E23733ECE2DD07E2B7CBEF92542CD7C88B0A2698F12F5C9EC77752E0C033A69E86920BD37369036789A8C6A0E60D2BB63A5DB60FBEB33A8A0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/2] Fixes for 64 bit operands of the bit library 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: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This patchset fixes a bunch of misbehaviours for the 64-bit-wide operands in the built-in `bit` library. Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1079-fix-64-bitshift-folds Related issues: * https://github.com/tarantool/tarantool/issues/10199 * https://github.com/LuaJIT/LuaJIT/issues/1079 * https://github.com/LuaJIT/LuaJIT/issues/1273 Mike Pall (2): Fix bit op coercion in DUALNUM builds. FFI: Fix 64 bit shift fold rules. src/lj_carith.c | 4 +- src/lj_opt_fold.c | 8 +- .../lj-1079-fix-64-bitshift-folds.test.lua | 74 +++++++++++++++++++ .../lj-1273-dualnum-bit-coercion.test.lua | 19 +++++ 4 files changed, 98 insertions(+), 7 deletions(-) create mode 100644 test/tarantool-tests/lj-1079-fix-64-bitshift-folds.test.lua create mode 100644 test/tarantool-tests/lj-1273-dualnum-bit-coercion.test.lua -- 2.46.2