Re:Introducing Dav1d: a new AV1 decoder
by p0nce on Tuesday October 02, 2018 @03:37AM
(#18119492)
Not if you use a backend like the one in ICC.
[ Parent
| on HN ]
I was trying to remember if autovectorization worked better with intrinsics, but I don't really know that much about it.
Yes, 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.