-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct Dav1dMCDSPContext
: Dispatch through indirect fn
ptrs inside of bitdepth-dependent fn
s
#331
Conversation
…e of bitdepth-dependent `fn`s.
@thedataking, could you re-benchmark this one, too, on the AVX512 machine? Thanks! |
It doesn't compile on arm yet, but this should be enough to benchmark it on x86_64 to see if it's worth it at all. |
It looks like this change would regress performance.
|
Okay, it looks like this way isn't worth it either. I'll start working on a type-erased |
This may help reduce the instruction count and thus not be worse in performance compared to the purely
fn
ptr version, but we'll see exactly how much (if at all).