Re: Did clang 14 lose some intrinsics support?
- In reply to: Dimitry Andric : "Re: Did clang 14 lose some intrinsics support?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Sep 2022 13:04:20 UTC
Quoting Dimitry Andric <dim@freebsd.org> (from Mon, 26 Sep 2022 12:03:03 +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 this code for performance critical sections only. Allows to generate programs which are generic to all CPUs in the main code paths, and able to switch to high performance implementations of critical code paths depending on the feature of the CPU. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF