Re:Introducing Dav1d: a new AV1 decoder
by sp332 on Tuesday October 02, 2018 @08:38AM
(#18120944)
I was trying to remember if autovectorization worked better with intrinsics, but I don't really know that much about it.
[ Parent
| on HN ]
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.