From 87f1355f9b4fc11414d0e6a91404203c2745f89f Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Wed, 16 Feb 2011 02:39:42 +0000 Subject: x86: check for AVX support This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard --- libavutil/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/cpu.h') diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 71cc26529a..d60e062e19 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -36,6 +36,7 @@ #define AV_CPU_FLAG_SSSE3 0x0080 ///< Conroe SSSE3 functions #define AV_CPU_FLAG_SSE4 0x0100 ///< Penryn SSE4.1 functions #define AV_CPU_FLAG_SSE42 0x0200 ///< Nehalem SSE4.2 functions +#define AV_CPU_FLAG_AVX 0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used #define AV_CPU_FLAG_IWMMXT 0x0100 ///< XScale IWMMXT #define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard -- cgit v1.2.3