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 AE784E5A077; Thu, 22 Aug 2024 15:50:47 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org AE784E5A077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1724331047; bh=jJscSlN3aM+A7+lg6D/vQrJw7rhmCfV9O3sRnrBZBMY=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=pXSSZ2XyjaVbxdoehRolLbvVin+Ug3z5cxA9z1n06fOh8C+7QfHbvEQJTKM1QIhAE jRuujynrgVCQn8cvmjdVMPFj4AcNR6Des6I2oJ18WdNZKrBaVaha4503qVBqXVxHdU z/ef4GOAUqHvXjVRJGqUN/O6xZR+DJrESUX3fPsk= Received: from fallback19.i.mail.ru (fallback19.i.mail.ru [79.137.243.70]) (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 C248850ADF1 for ; Thu, 22 Aug 2024 15:50:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C248850ADF1 Received: from [10.12.4.17] (port=59000 helo=smtp46.i.mail.ru) by fallback19.i.mail.ru with esmtp (envelope-from ) id 1sh72B-000iTn-FM for tarantool-patches@dev.tarantool.org; Thu, 22 Aug 2024 15:35:23 +0300 Received: by smtp46.i.mail.ru with esmtpa (envelope-from ) id 1sh703-0000000980s-2Ogd; Thu, 22 Aug 2024 15:33:11 +0300 Content-Type: multipart/alternative; boundary="------------N5hritOd0G63xUth7xNwNEkE" Message-ID: <86a3675c-9da1-4ae2-af41-e0574bb4c17c@tarantool.org> Date: Thu, 22 Aug 2024 15:33:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Sergey Kaplun , Maxim Kokryashkin Cc: tarantool-patches@dev.tarantool.org References: In-Reply-To: X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9BB2AFC06FD50F0EF2A0E9E517E8B9F643A25E936563B8BEA182A05F53808504073DC44BBCA37A2135D1BE6A8D71B10A5AE621B71673706D52B84DCBB05636B3D8DBD743D6B298C11 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7956F10FFCC7409BAEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637E6006D770ADD73CF8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D84EBC8CB28E7BC3DE2467A2519E346A8A285376F46E57A1DBCC7F00164DA146DAFE8445B8C89999728AA50765F7900637F6B57BC7E64490618DEB871D839B7333395957E7521B51C2DFABB839C843B9C08941B15DA834481F8AA50765F7900637BA939FD1B3BAB99B389733CBF5DBD5E9B5C8C57E37DE458BD9DD9810294C998ED8FC6C240DEA76428AA50765F790063741880789376DFC6ED81D268191BDAD3DBD4B6F7A4D31EC0BE2F48590F00D11D6D81D268191BDAD3D78DA827A17800CE7541FADD3D81556A7EC76A7562686271ED91E3A1F190DE8FD2E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3C8F21CEC4765490D35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A554C7B077A46770695002B1117B3ED696A86C2B689EE8FFE50E58516B1639A14B823CB91A9FED034534781492E4B8EEAD14747542773C033FBDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF5A20217D86F6E0E57FDC080644D887B78C59F779AFC654FDCB61B2B1C796A88B23277A7B3C315D4E2FB0CAD32ADFBF8430296070C65A75E18668B90D5F451CCEA9B091723270F22F5F4332CA8FE04980913E6812662D5F2AB9AF64DB4688768036DF5FE9C0001AF333F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbUwDRTee1XpbEkCD8nE3Bg== X-Mailru-Sender: 520A125C2F17F0B1E52FEF5D219D614044C394BFE1B7EF1396A0532BFC0A7955EC9DF905E1B0458E0152A3D17938EB451EB5A0BCEC6A560B3DDE9B364B0DF289BE2DA36745F2EEB5CEBA01FB949A1F1EEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok X-7564579A: 78E4E2B564C1792B X-77F55803: 6242723A09DB00B4A060E3D0EC9C207DC9396BBF5FFFF614F5BF6FFDEE557A56049FFFDB7839CE9E8C88765FAFC03EADD0E42FBD7081EC270B127F6DA72C6F40D5F77CDA438388E2 X-7FA49CB5: 0D63561A33F958A5DB657A02D6D3C29FCFB59D7645F4A0D456B969DDDAAA761E8941B15DA834481FA18204E546F3947CB4B51A2BAB7FBE05117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE791DAD9F922AA71188941B15DA834481F9449624AB7ADAF3735872C767BF85DA227C277FBC8AE2E8BE987C591F5696A4475ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbUwDRTee1XpuzEWL1PrBAw== X-Mailru-MI: 8000000000000800 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 22/45] test: remove LuaJIT test 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 Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This is a multi-part message in MIME format. --------------N5hritOd0G63xUth7xNwNEkE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sergey, On 21.08.2024 11:58, Sergey Kaplun wrote: > This patch removes the aforementioned test since it is part of the > test. > > Part of tarantool/tarantool#9398 > --- thanks for the patch! LGTM > test/LuaJIT-tests/misc/loop_unroll.lua | 35 -------------------------- > 1 file changed, 35 deletions(-) > delete mode 100644 test/LuaJIT-tests/misc/loop_unroll.lua > > diff --git a/test/LuaJIT-tests/misc/loop_unroll.lua b/test/LuaJIT-tests/misc/loop_unroll.lua > deleted file mode 100644 > index 1700fac9..00000000 > --- a/test/LuaJIT-tests/misc/loop_unroll.lua > +++ /dev/null > @@ -1,35 +0,0 @@ > - > --- type instability on loop unroll -> record unroll > -do > - local flip = true > - for i=1,100 do flip = not flip end > - assert(flip == true) > -end > - > -do > - local t = {} > - local a, b, c = 1, "", t > - for i=1,100 do a,b,c=b,c,a end > - assert(c == 1 and a == "" and b == t) > -end > - > --- FAILFOLD on loop unroll -> LJ_TRERR_GFAIL -> record unroll > -do > - local t = { 1, 2 } > - local k = 2 > - local x = 0 > - for i=1,200 do > - x = x + t[k] > - k = k == 1 and 2 or 1 > - end > - assert(x == 300 and k == 2) > -end > - > --- Unroll if inner loop aborts. > -local j = 0 > -for i = 1,100 do > - repeat > - j = j+1 > - until true > -end > - --------------N5hritOd0G63xUth7xNwNEkE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Sergey,


On 21.08.2024 11:58, Sergey Kaplun wrote:
This patch removes the aforementioned test since it is part of the
<opt/loop/unroll.lua> test.

Part of tarantool/tarantool#9398
---
thanks for the patch! LGTM
 test/LuaJIT-tests/misc/loop_unroll.lua | 35 --------------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 test/LuaJIT-tests/misc/loop_unroll.lua

diff --git a/test/LuaJIT-tests/misc/loop_unroll.lua b/test/LuaJIT-tests/misc/loop_unroll.lua
deleted file mode 100644
index 1700fac9..00000000
--- a/test/LuaJIT-tests/misc/loop_unroll.lua
+++ /dev/null
@@ -1,35 +0,0 @@
-
--- type instability on loop unroll -> record unroll
-do
-  local flip = true
-  for i=1,100 do flip = not flip end
-  assert(flip == true)
-end
-
-do
-  local t = {}
-  local a, b, c = 1, "", t
-  for i=1,100 do a,b,c=b,c,a end
-  assert(c == 1 and a == "" and b == t)
-end
-
--- FAILFOLD on loop unroll -> LJ_TRERR_GFAIL -> record unroll
-do
-  local t = { 1, 2 }
-  local k = 2
-  local x = 0
-  for i=1,200 do
-    x = x + t[k]
-    k = k == 1 and 2 or 1
-  end
-  assert(x == 300 and k == 2)
-end
-
--- Unroll if inner loop aborts.
-local j = 0
-for i = 1,100 do
-  repeat
-    j = j+1
-  until true
-end
-
--------------N5hritOd0G63xUth7xNwNEkE--