Can't we just use the compiler built-ins here? AFAIK, they (GCC, LLVM) use the 
same algorithm if the CPU doesn't support native CTZ. And they will pick the 
right instruction if CPU does have CTZ.

I get it that maybe it wasn't working so well 20 years ago, but we've increased 
compiler version requirements since then.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to