News for hackers. Stuff that matters.
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.
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.
Re:Introducing Dav1d: a new AV1 decoder by p0nce on Tuesday October 02, 2018 @11:20AM (#18122483)
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.