From nobody Mon Sep 26 13:04:20 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 4Mbjdg12B6z4WWYT for ; Mon, 26 Sep 2022 13:04:39 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mbjdf0702z3nV3; Mon, 26 Sep 2022 13:04:37 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from outgoing.leidinger.net (p5b165562.dip0.t-ipconnect.de [91.22.85.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "outgoing.leidinger.net", Issuer "R3" (verified OK)) by mailgate.Leidinger.net (Postfix) with ESMTPSA id DA7EA27079; Mon, 26 Sep 2022 15:04:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1664197464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zV2lKDX0L0B4Ouo+C569ePe+KTWD/gjQRRYWZa5T7zU=; b=h5P6yV7SbZDVfi/VI+lPj6f6EUjZV8w8aqea8R91Gcg94+r8SrhQ7NBc4v0lnz0kT9DY9U otXGGOPHZB9Ep6TjsCavgsQ1cSef6rwOxFIl3n8b2S5vyC60VrwFSL0meuTlU9/mOa4weC maYAyjYUUnBvqUjLYwCc74YwwYtygljOgk2W6RPAyg3lib8oT+shoFuoeeemQRtGZhktVp MFFNRi0ZGthgVLGMJTSEcHy5gEhxHMU2ELDJeQSmPeHBaORgnQfX4YMixhzvXzZqWcrN3i D0EIgXicU/SQJFg6XE01OQETaPW6JTvzXaZ9Pa8YaxwyV3ijoMzoUxFF6YTF1A== Received: from webmail.leidinger.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id F11EFB50F; Mon, 26 Sep 2022 15:04:20 +0200 (CEST) Date: Mon, 26 Sep 2022 15:04:20 +0200 Message-ID: <20220926150420.Horde.FuZYvVwObx9ZEQ0mSecOTiA@webmail.leidinger.net> From: Alexander Leidinger To: Dimitry Andric Cc: Christian Weisgerber , Jan Beich , freebsd-current@freebsd.org Subject: Re: Did clang 14 lose some intrinsics support? References: <1A903FD8-D904-4B91-ABC4-2F704F0E2CF4@FreeBSD.org> <430A830E-3473-4EF4-9605-039F8254999C@FreeBSD.org> In-Reply-To: <430A830E-3473-4EF4-9605-039F8254999C@FreeBSD.org> Accept-Language: de,en Content-Type: multipart/signed; boundary="=_06V_u4-GPAXmrydi1OosBwC"; protocol="application/pgp-signature"; micalg=pgp-sha256 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 X-Rspamd-Queue-Id: 4Mbjdf0702z3nV3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=h5P6yV7S; dmarc=pass (policy=quarantine) header.from=leidinger.net; spf=pass (mx1.freebsd.org: domain of Alexander@leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@leidinger.net X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; RCPT_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format and has been PGP signed. --=_06V_u4-GPAXmrydi1OosBwC Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Dimitry Andric (from Mon, 26 Sep 2022=20=20 12:03:03=20+0200): > Sure, but if you are compiling without -mavx, why would you want the AVX > intrinsics? You cannot use AVX intrinsics anyway, if AVX is not enabled. > > So I don't fully understand the problem this configure scripting is > supposed to solve? Think about run time check of available CPU features and then using=20=20 this=20code for performance critical sections only. Allows to generate=20= =20 programs=20which are generic to all CPUs in the main code paths, and=20=20 able=20to switch to high performance implementations of critical code=20=20 paths=20depending on the feature of the CPU. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_06V_u4-GPAXmrydi1OosBwC Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmMxo1MACgkQEg2wmwP4 2Iaxvg/8C9kurtHyy2KIjM9gjkqfYmgZMYBkyNkpuumMiQibY5w6jclYNFVqSfYE h5nB+SeH//GMhee+C4FtRamE9gAsJE2JYhw5nmMv7TDDzrIvtnuvHZMZDhscs0ey nn3wIu569ZLecKh1LklD00u7zUBHNvWsB3BobGIxsG2IQV81BSFnL8yJZTBixPmD 2E0y6jO5oKw9c13CVl+Pzgtua/gbKcWDc0a99xxDe/q3VQ0IUN8sLfwJbD+jWeHZ nA7EmuIs+o0mxOwZF5uiE44ef+1UxRFjuexZ/T2yeVm/Cv+cgigq/clRANRnzhDY 78Tr8VassWhTuJVErIrt6anXrhCUdekXm/AdPOaSfvhgrMUdWThF7e/ppLfPrRb+ y00AlSDYDROEUL4AmRCfytOLGtcDDNpda6B0A/3siZ+uPZH+K6S4BrF6ulHARu5I LLwhegt0tPnWRrYiRtEoFbqrQqE0GsaSQFihadaNh15nqRXkrk24PxMqB2/6tIri 23uwL51IpgxTLKEesmNRTIr6BkH5C0gDM0YaEWgvNPLoZyTa5Iw+sKW+C7xNH3jz wx2rI8jI1a6plIA6wWN6N0FW+AMHDS5xY7SjzgdxA39UIoAQm81hq/8XpE67yfc5 qZeHQ7oaUDO2PZcNbR0fbEoKGhTkaZO6clURErbHZ314hJxKYNs= =Bu1G -----END PGP SIGNATURE----- --=_06V_u4-GPAXmrydi1OosBwC--