5 ms·
Not if you use a backend like the one in ICC.
by p0nce 8y ago
Not if you use a backend like the one in ICC.
- sp332 8y agoI was trying to remember if autovectorization worked better with intrinsics, but I don't really know that much about it.
- p0nce 8y agoYes, everything works better with intrinsics: - codegen because the compiler spills better than you, and knows what register to save. It knows about register renaming - inlining works better - loop unrolling works better - any kind of hoisting And it's also 3x faster to write, and much faster to refactor back to C++. Provided you have the right backend, it will lead to less maintenance issue with about 5% better performance.