From nobody Sun Sep 25 17:12:31 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MbCFG2mgSz4cSwg for ; Sun, 25 Sep 2022 17:15:14 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MbCFD6nz3z3CDT for ; Sun, 25 Sep 2022 17:15:12 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1ocVDc-003RmG-EJ; Sun, 25 Sep 2022 19:15:04 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.16.1/8.16.1) with ESMTP id 28PHCVEg025916 for ; Sun, 25 Sep 2022 19:12:31 +0200 (CEST) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.16.1/8.16.1/Submit) id 28PHCVMb025915 for freebsd-current@freebsd.org; Sun, 25 Sep 2022 19:12:31 +0200 (CEST) (envelope-from naddy) Date: Sun, 25 Sep 2022 19:12:31 +0200 From: Christian Weisgerber To: freebsd-current@freebsd.org Subject: Did clang 14 lose some intrinsics support? Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4MbCFD6nz3z3CDT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of naddy@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=naddy@mips.inka.de X-Spamd-Result: default: False [-1.09 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.990]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[inka.de]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[naddy]; ARC_NA(0.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c0::/29, country:DE]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Did we lose support for SSSE3 and AVX2 intrinsics on amd64 with clang 14? I don't have access to an up-to-date -CURRENT box. Can somebody run the script at the end and report the output? Those checks are found in the wild, I extracted them from the audio/flac port. So far, what I'm seeing: ===> clang version 13.0.0 #define AVX2_SUPPORTED 1 #define AVX_SUPPORTED 1 #define FMA_SUPPORTED 1 #define SSE2_SUPPORTED 1 #define SSE4_1_SUPPORTED 1 #define SSE_SUPPORTED 1 #define SSSE3_SUPPORTED 1 ===> clang version 14.0.5 #define AVX_SUPPORTED 1 #define FMA_SUPPORTED 1 #define SSE2_SUPPORTED 1 #define SSE4_1_SUPPORTED 1 #define SSE_SUPPORTED 1 -------------------> #!/bin/sh (cc -E -dM - | fgrep SUPPORTED) <