diff options
author | Alan Kelly <alankelly-at-google.com@ffmpeg.org> | 2021-12-21 20:56:41 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-12-21 17:44:44 -0300 |
commit | ffbab99f2c22be06ef3c564fd38320d40e48a2b5 (patch) | |
tree | 1fe8ee8fadcd36aab7fba56c03801f893e4e7d76 /libavutil/cpu.h | |
parent | 14b6805eb29d193105998e530e92525d7fe98d6d (diff) |
libavutil/cpu: Add AV_CPU_FLAG_SLOW_GATHER.
This flag is set on Haswell and earlier and all AMD cpus.
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 ae443eccad..ce9bf14bf7 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -54,6 +54,7 @@ #define AV_CPU_FLAG_BMI1 0x20000 ///< Bit Manipulation Instruction Set 1 #define AV_CPU_FLAG_BMI2 0x40000 ///< Bit Manipulation Instruction Set 2 #define AV_CPU_FLAG_AVX512 0x100000 ///< AVX-512 functions: requires OS support even if YMM/ZMM registers aren't used +#define AV_CPU_FLAG_SLOW_GATHER 0x2000000 ///< CPU has slow gathers. #define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard #define AV_CPU_FLAG_VSX 0x0002 ///< ISA 2.06 |