[opus] Fix ARM cpu selection if Intrinsics are enabled but not asm
jonathan at vidyo.com
Fri Jul 8 22:38:12 UTC 2016
The ARM implementation of opus_select_arch wants to verify that a given CPU architecture also implies all lower-capability architectures.
Unfortunately, the ARM opus_cpu_capabilities function only currently checks for those architectures that are enabled in the configuration, and thus —disable-asm — or a floating-point build — doesn’t check for Media or EDSP.
Thus, RTCD for these configurations doesn’t end up taking advantage of Neon Intrinsics support.
The attached patch should fix this, by checking for a CPU feature if the feature or any higher feature is enabled in the configuration.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2197 bytes
More information about the opus