How can application check at runtime if it runs on ARMv5 or ARMv6 processor?
ARMv6 adds some interesting instructions for SIMD, which would be handy to use for multimedia application. But to keep application compatible with ARMv5 phones I need to check if CPU is ARMv6 at runtime.
HAL doesn't seem to provide any function for checking CPU type, also CPUID using cp15 register is not possible in ARM code in user privilege mode.
I don't know of any way how to check ARM CPU capabilities. Thanks for hints.