Run-time CPU detection for ARM (meaning NEON)
Unfortunately, we cannot emit NEON opcodes when NEON is not explicitly enabled (-mfpu=neon), contrary to MMX & SSE on x86. As a consequence, this will not work for inline assembler in a non-optimized plugin, namely the deinterlacer. There is also a(n hopefully theoretical) bug whereby the compiler would emit NEON instructions in the descriptor or activation callback of a NEON plugin. This could then crash if NEON is not supported, even before the NEON run-time check is reached.
Showing with 44 additions and 8 deletions