diff options
author | Janne Grunau <janne-libav@jannau.net> | 2015-12-09 22:28:36 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2015-12-14 16:42:35 +0100 |
commit | e2710e790c09e49e86baa58c6063af0097cc8cb0 (patch) | |
tree | 4bf42a3192ea353305d8409d085522100a16b350 /libavutil/cpu.h | |
parent | 5dfe4edad63971d669ae456b0bc40ef9364cca80 (diff) | |
download | ffmpeg-e2710e790c09e49e86baa58c6063af0097cc8cb0.tar.gz |
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.
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r-- | libavutil/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 9c77ce6e47..d640e79783 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -62,6 +62,7 @@ #define AV_CPU_FLAG_VFPV3 (1 << 4) #define AV_CPU_FLAG_NEON (1 << 5) #define AV_CPU_FLAG_ARMV8 (1 << 6) +#define AV_CPU_FLAG_VFP_VM (1 << 7) ///< VFPv2 vector mode, deprecated in ARMv7-A and unavailable in various CPUs implementations /** * Return the flags which specify extensions supported by the CPU. |