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 1tzAbl-00G6fp-NK for pgsql-committers@arkaria.postgresql.org; Mon, 31 Mar 2025 08:35:01 +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 1tzAbi-002OOa-Ku for pgsql-committers@arkaria.postgresql.org; Mon, 31 Mar 2025 08:34:58 +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 1tzAbi-002ONn-Df for pgsql-committers@lists.postgresql.org; Mon, 31 Mar 2025 08:34:58 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tzAbg-0026Nn-22 for pgsql-committers@lists.postgresql.org; Mon, 31 Mar 2025 08:34:57 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-226185948ffso82027015ad.0 for ; Mon, 31 Mar 2025 01:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743410095; x=1744014895; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:from:subject:cc:to:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=qzWdgYE6Amw2X+/pft1wNMTsOE+rOIp9ble7mYbfj6g=; b=Imbg+nggEP+iuT/Gck3ZfwokK55SA/x+jF6gigVRDRksvLZh9oRkfdGjHZ6oWp/iEf 6kMjq86MiFN3KsRgYzgdkVC9ZB1ZuzLbHZKse2cer6GF1EMbUjIiyXAEg+Psze8KgfJ7 MLPMOoeXniWAagdwc68NaUkoRgYCbWC++ky0Hb6UEDbFOyoOKNbXcvDpA/zYkLo48yNR c1lBJ/TaJIaaBeUMnNt8Su60LOsfaX6JHl8vG7H50hH20nl7E5/qNmNovoX8GhJOhTYB NTuOVVptUv2Fhfysaks1NO/G+9OZ4PKmQnpIV+NogMz5gug2CT3Ot+Kcla0b4qMG86YE ZxcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743410095; x=1744014895; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:from:subject:cc:to:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qzWdgYE6Amw2X+/pft1wNMTsOE+rOIp9ble7mYbfj6g=; b=GB5XmiZNYhfXqEFhG80dVC839f8RSAK2l9bAOuU2ioLWovldn5VewZwFelhsfMNfKM gfgmgsGpR+rMsKmt2vjcAfiyYFqMC3eNmvDESUgWfmpB0mUu7HHhzwq1IlyHSpkr55CQ HykQB98RemZZkKo0qnyLw1ENIS12U7EdN40aHsWKuivQsN7pgUHujKcXPi2zq/g6Onsg CiVrYYkTMgnB3IdOHr5RS4ib8h8qZVA2cuvJi4OAbcc/7oG5Xu7c2E760exEynOdjATt 0Xjdcgecc+mYmQtkyE637e9K36Q4h3EWyOxnpnUtI3C6GUkKdq/iskMRTHrzrA4KGTkD z8ug== X-Forwarded-Encrypted: i=1; AJvYcCWZgaT9P/FdwlA3cv6j13Lt4fZI5JwBQb+n6z1NEp/giUG16IWELIkR/JokJ8oPfaQk2U20V2qIZyeDQ2Hnwb3s@lists.postgresql.org X-Gm-Message-State: AOJu0YzMc0+DVCu6yiJ6pmUoNJ0YLaHkR2lnaZaU89GvU43e3fXxXwmn +7JxfDGSzgQUiXFcf0BgXZH/wRBxM6qgr1DLwE7QVKZCb+ybfwZw X-Gm-Gg: ASbGnctYienVp1arxmMEvrCozqW/srFrI3GuCvgpWUuZM/zZFbhhKRb8AZpBNAxLNeS 9rb6I1EEV2CnsZGIXLFmuFJGRHt7MADcgut/meFw5r8CgV2de/1zsblFm3vK9dlGnMTvHgvAPEl 0xf8JJHrrDj2n6Q6WGfR2FnGuQgtTNGXV24rN8i0VU5xt+EdLaROR69ux5C8RccI+EjfMy8FcRE zgalcoEuMqXEDJgW2Cwhkm9LFAo5Yyjaivutyrz1KqQlbb5tAkn1NiNBRwCTo1HyTT98dJelyuO iTojje2ho1bmuZCtKx0glMNU3twxgzboG/Rv8YFy33RWKQX6GWhZ8X0rzde5sHehPlihovyxLjy P9iTv6Uk2Y+rP3XBtzA== X-Google-Smtp-Source: AGHT+IG4HYYK/nKL4oD15eyOeMZJb1yUQN4MjW92X7YbMc6i0KZrgMmCWUedex04D4hDs71GauQtZg== X-Received: by 2002:a17:903:178b:b0:223:47d9:1964 with SMTP id d9443c01a7336-2292f9e6322mr140317885ad.34.1743410095571; Mon, 31 Mar 2025 01:34:55 -0700 (PDT) Received: from localhost (KD036014041111.ppp-bb.dion.ne.jp. [36.14.41.111]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1df12csm64360825ad.191.2025.03.31.01.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Mar 2025 01:34:55 -0700 (PDT) Date: Mon, 31 Mar 2025 17:34:52 +0900 (JST) Message-Id: <20250331.173452.1055787671997178480.horikyota.ntt@gmail.com> To: johncnaylorls@gmail.com Cc: john.naylor@postgresql.org, pgsql-committers@lists.postgresql.org, cookt@blackduck.com Subject: Re: pgsql: Inline CRC computation for small fixed-length input on x86 From: Kyotaro Horiguchi In-Reply-To: References: User-Agent: Mew version 6.8 on Emacs 27.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk At Mon, 31 Mar 2025 15:07:36 +0700, John Naylor wrote in > Looking at the configure output, I don't see -msee4.2 (or equivalent), > so it shouldn't be reporting that it's targeting SSE 4.2. Maybe it's > using a cached value, and deleting the configure cache would clear > this up? (CC'-d owner) I'm not sure if it's related to this, but I got the following build error. mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'pg_comp_crc32c_dispatch' that is compiled without support for 'crc32' 70 | crc = _mm_crc32_u64(crc, *(const uint64 *) p); | ^ ../../../../src/include/port/pg_crc32c.h:73:10: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'pg_comp_crc32c_dispatch' that is compiled without support for 'crc32' 73 | crc = _mm_crc32_u32(crc, *(const uint32 *) p); | ^ ../../../../src/include/port/pg_crc32c.h:75:10: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32', but would be inlined into function 'pg_comp_crc32c_dispatch' that is compiled without support for 'crc32' 75 | crc = _mm_crc32_u8(crc, *p++); | ^ 3 errors generated. > Rocky Linux release 9.5 (Blue Onyx) > gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5) > clang version 18.1.8 (RESF 18.1.8-3.el9) regards. -- Kyotaro Horiguchi NTT Open Source Software Center