Go to the documentation of this file.
19 #ifndef AVUTIL_X86_CPU_H
20 #define AVUTIL_X86_CPU_H
26 #define AV_CPU_FLAG_AMD3DNOW AV_CPU_FLAG_3DNOW
27 #define AV_CPU_FLAG_AMD3DNOWEXT AV_CPU_FLAG_3DNOWEXT
29 #define X86_AMD3DNOW(flags) CPUEXT(flags, AMD3DNOW)
30 #define X86_AMD3DNOWEXT(flags) CPUEXT(flags, AMD3DNOWEXT)
31 #define X86_MMX(flags) CPUEXT(flags, MMX)
32 #define X86_MMXEXT(flags) CPUEXT(flags, MMXEXT)
33 #define X86_SSE(flags) CPUEXT(flags, SSE)
34 #define X86_SSE2(flags) CPUEXT(flags, SSE2)
35 #define X86_SSE3(flags) CPUEXT(flags, SSE3)
36 #define X86_SSSE3(flags) CPUEXT(flags, SSSE3)
37 #define X86_SSE4(flags) CPUEXT(flags, SSE4)
38 #define X86_SSE42(flags) CPUEXT(flags, SSE42)
39 #define X86_AVX(flags) CPUEXT(flags, AVX)
40 #define X86_FMA4(flags) CPUEXT(flags, FMA4)
41 #define X86_AVX2(flags) CPUEXT(flags, AVX2)
43 #define EXTERNAL_AMD3DNOW(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOW)
44 #define EXTERNAL_AMD3DNOWEXT(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOWEXT)
45 #define EXTERNAL_MMX(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, MMX)
46 #define EXTERNAL_MMXEXT(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, MMXEXT)
47 #define EXTERNAL_SSE(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSE)
48 #define EXTERNAL_SSE2(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSE2)
49 #define EXTERNAL_SSE3(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSE3)
50 #define EXTERNAL_SSSE3(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSSE3)
51 #define EXTERNAL_SSE4(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSE4)
52 #define EXTERNAL_SSE42(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, SSE42)
53 #define EXTERNAL_AVX(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AVX)
54 #define EXTERNAL_FMA4(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, FMA4)
55 #define EXTERNAL_AVX2(flags) CPUEXT_SUFFIX(flags, _EXTERNAL, AVX2)
57 #define INLINE_AMD3DNOW(flags) CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOW)
58 #define INLINE_AMD3DNOWEXT(flags) CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOWEXT)
59 #define INLINE_MMX(flags) CPUEXT_SUFFIX(flags, _INLINE, MMX)
60 #define INLINE_MMXEXT(flags) CPUEXT_SUFFIX(flags, _INLINE, MMXEXT)
61 #define INLINE_SSE(flags) CPUEXT_SUFFIX(flags, _INLINE, SSE)
62 #define INLINE_SSE2(flags) CPUEXT_SUFFIX(flags, _INLINE, SSE2)
63 #define INLINE_SSE3(flags) CPUEXT_SUFFIX(flags, _INLINE, SSE3)
64 #define INLINE_SSSE3(flags) CPUEXT_SUFFIX(flags, _INLINE, SSSE3)
65 #define INLINE_SSE4(flags) CPUEXT_SUFFIX(flags, _INLINE, SSE4)
66 #define INLINE_SSE42(flags) CPUEXT_SUFFIX(flags, _INLINE, SSE42)
67 #define INLINE_AVX(flags) CPUEXT_SUFFIX(flags, _INLINE, AVX)
68 #define INLINE_FMA4(flags) CPUEXT_SUFFIX(flags, _INLINE, FMA4)
69 #define INLINE_AVX2(flags) CPUEXT_SUFFIX(flags, _INLINE, AVX2)