summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-07-12 16:41:42 +0200
committerJanne Grunau <janne-libav@jannau.net>2015-07-18 01:06:45 +0200
commit82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014 (patch)
tree4b2b9bf30235e676c7b20c499c12073dc8eccfe2 /tests
parentcb33f8d0f48b1e9d642ca1cbea142dcbedd08a27 (diff)
downloadffmpeg-82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014.tar.gz
checkasm: test all architectures with optimisations
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/checkasm.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 826cd35104..e6cf3d7800 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -72,7 +72,21 @@ static const struct {
const char *suffix;
int flag;
} cpus[] = {
-#if ARCH_X86
+#if ARCH_AARCH64
+ { "ARMV8", "armv8", AV_CPU_FLAG_ARMV8 },
+ { "NEON", "neon", AV_CPU_FLAG_NEON },
+#elif ARCH_ARM
+ { "ARMV5TE", "armv5te", AV_CPU_FLAG_ARMV5TE },
+ { "ARMV6", "armv6", AV_CPU_FLAG_ARMV6 },
+ { "ARMV6T2", "armv6t2", AV_CPU_FLAG_ARMV6T2 },
+ { "VFP", "vfp", AV_CPU_FLAG_VFP },
+ { "VFPV3", "vfp3", AV_CPU_FLAG_VFPV3 },
+ { "NEON", "neon", AV_CPU_FLAG_NEON },
+#elif ARCH_PPC
+ { "ALTIVEC", "altivec", AV_CPU_FLAG_ALTIVEC },
+ { "VSX", "vsx", AV_CPU_FLAG_VSX },
+ { "POWER8", "power8", AV_CPU_FLAG_POWER8 },
+#elif ARCH_X86
{ "MMX", "mmx", AV_CPU_FLAG_MMX|AV_CPU_FLAG_CMOV },
{ "MMXEXT", "mmxext", AV_CPU_FLAG_MMXEXT },
{ "3DNOW", "3dnow", AV_CPU_FLAG_3DNOW },