2 ms·
Yes, and it can make sense to dispatch between compiler-vectorised and non-simd implementations.
by fulafel 7y ago
Yes, and it can make sense to dispatch between compiler-vectorised and non-simd implementations.
- masklinn 7y agoIt does make sense, the issue at hand is how it's done: by checking for the CPU vendor / product line rather than asking the CPU if it has the operations we want.
- fulafel 7y agoYep - capabilities based switching makes most sense when you are just interested on what code can successfully execute, and not making decisions based on known perf characteristics of microarchitectures. But this subthread was about "where in glibc is SIMD used anyway?" and the answer is that in all code, potentially.