aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-18 02:31:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-18 02:31:14 +0200
commite6b01480e563bb71cb525393a9b239968730d6ec (patch)
tree07254e6abceb453d25d23c44d1abbd243763e568
parent3ad30d1bc061d6a414fdaef1dc13f85379076484 (diff)
parent82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014 (diff)
downloadffmpeg-e6b01480e563bb71cb525393a9b239968730d6ec.tar.gz
Merge commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014'
* commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014': checkasm: test all architectures with optimisations Merged-by: Michael Niedermayer <michael@niedermayer.cc>
-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 d1e4de850c..a54a75ea55 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 },