Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2022 15:04:20 +0200
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Christian Weisgerber <naddy@mips.inka.de>, Jan Beich <jbeich@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Did clang 14 lose some intrinsics support?
Message-ID:  <20220926150420.Horde.FuZYvVwObx9ZEQ0mSecOTiA@webmail.leidinger.net>
In-Reply-To: <430A830E-3473-4EF4-9605-039F8254999C@FreeBSD.org>
References:  <YzCL/%2BUEhLy7kHaL@lorvorc.mips.inka.de> <zgen-6zwv-wny@FreeBSD.org> <1A903FD8-D904-4B91-ABC4-2F704F0E2CF4@FreeBSD.org> <YzDKQsfciGd%2BJBQ5@lorvorc.mips.inka.de> <430A830E-3473-4EF4-9605-039F8254999C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dim@freebsd.org> (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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220926150420.Horde.FuZYvVwObx9ZEQ0mSecOTiA>