]> git.sesse.net Git - ffmpeg/commit
arm: add a cpu flag for the VFPv2 vector mode
authorJanne Grunau <janne-libav@jannau.net>
Wed, 9 Dec 2015 21:28:36 +0000 (22:28 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 14 Dec 2015 15:42:35 +0000 (16:42 +0100)
commite2710e790c09e49e86baa58c6063af0097cc8cb0
tree4bf42a3192ea353305d8409d085522100a16b350
parent5dfe4edad63971d669ae456b0bc40ef9364cca80
arm: add a cpu flag for the VFPv2 vector mode

The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu
implementations do not support it in hardware. Vector mode code will
depending the OS either be emulated in software or result in an illegal
instruction on cpus which does not support it. This was not really
problem in practice since NEON implementations of the same functions are
preferred. It will however become a problem for checkasm which tests
every cpu flag separately.

Since this is a cpu feature newer cpu do not support anymore the
behaviour of this flag differs from the other flags. It can be only
activated by runtime cpu feature selection.
libavcodec/arm/dcadsp_init_arm.c
libavcodec/arm/fft_init_arm.c
libavcodec/arm/fmtconvert_init_arm.c
libavutil/arm/cpu.c
libavutil/arm/cpu.h
libavutil/cpu.c
libavutil/cpu.h
libavutil/version.h
tests/checkasm/checkasm.c