Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tzEt9-00H7Em-Lk for pgsql-committers@arkaria.postgresql.org; Mon, 31 Mar 2025 13:09:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tzEt8-005cNt-Cz for pgsql-committers@arkaria.postgresql.org; Mon, 31 Mar 2025 13:09:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tzEt8-005cNX-5Y for pgsql-committers@lists.postgresql.org; Mon, 31 Mar 2025 13:09:14 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tzEt6-0028Zh-1i for pgsql-committers@lists.postgresql.org; Mon, 31 Mar 2025 13:09:13 +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 52VD96Pa3857593; Mon, 31 Mar 2025 09:09:06 -0400 From: Tom Lane To: John Naylor cc: Andres Freund , pgsql-committers@lists.postgresql.org, cookt@blackduck.com Subject: Re: pgsql: Inline CRC computation for small fixed-length input on x86 In-reply-to: <3837990.1743423175@sss.pgh.pa.us> References: <3837990.1743423175@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 31 Mar 2025 08:12:55 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3857591.1743426546.1@sss.pgh.pa.us> Date: Mon, 31 Mar 2025 09:09:06 -0400 Message-ID: <3857592.1743426546@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > What I conclude is that Red Hat hot-wired gcc to assume -msse4.2, > but they didn't hot-wire clang the same way. In confirmation of that: everything goes through fine if I manually add -msse4.2 to configure's choice of BITCODE_CFLAGS. Not sure if that line of thought can lead to a usable solution, or if it's superior to messing with the attributes on relevant functions as you mooted upthread. regards, tom lane