Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSWO4-0004um-0F for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Aug 2022 04:28:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oSWO2-0004r7-Km for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Aug 2022 04:28:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSWO2-0004qy-C3 for pgsql-hackers@lists.postgresql.org; Mon, 29 Aug 2022 04:28:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSWNy-0008Lg-8i for pgsql-hackers@postgresql.org; Mon, 29 Aug 2022 04:28:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27T4SOsD2990658; Mon, 29 Aug 2022 00:28:24 -0400 From: Tom Lane To: John Naylor cc: Nathan Bossart , Thomas Munro , Andres Freund , pgsql-hackers Subject: Re: use ARM intrinsics in pg_lfind32() where available In-reply-to: References: <20220825045729.GA1458024@nathanxps13> <20220826045115.GA1638993@nathanxps13> <20220826061347.GA1777731@nathanxps13> <20220826182403.GA1917683@nathanxps13> <20220827221234.GA15951@nathanxps13> <20220827230049.GA111000@nathanxps13> <20220828035839.GA211073@nathanxps13> Comments: In-reply-to John Naylor message dated "Mon, 29 Aug 2022 11:25:50 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2990656.1661747304.1@sss.pgh.pa.us> Date: Mon, 29 Aug 2022 00:28:24 -0400 Message-ID: <2990657.1661747304@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk John Naylor writes: > I wonder if we should explain briefly what saturating arithmetic is. I > had never encountered it outside of a SIMD programming context. +1, it's at least worth a sentence to define the term. regards, tom lane