Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2020-04-12 01:00:35 +0300
committerMatthias Dressel <code@deadcode.eu>2020-04-12 01:00:35 +0300
commit6ea3fda58c17ec8d55d7fc90eb5305ade3f4ebbc (patch)
tree1f526d35aec553f9740267c0459d2d5694a5ddda /tools
parentef990c9d82f7fa2f6c7c39c53e2c3d6cbc5b0d6c (diff)
CLI: Add missing cpumask for VSX
Diffstat (limited to 'tools')
-rw-r--r--tools/dav1d_cli_parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dav1d_cli_parse.c b/tools/dav1d_cli_parse.c
index 98b4253..4221fee 100644
--- a/tools/dav1d_cli_parse.c
+++ b/tools/dav1d_cli_parse.c
@@ -84,6 +84,8 @@ static const struct option long_opts[] = {
#if ARCH_AARCH64 || ARCH_ARM
#define ALLOWED_CPU_MASKS " or 'neon'"
+#elif ARCH_PPC64LE
+#define ALLOWED_CPU_MASKS " or 'vsx'"
#elif ARCH_X86
#define ALLOWED_CPU_MASKS \
", 'sse2', 'ssse3', 'sse41', 'avx2' or 'avx512icl'"
@@ -187,6 +189,8 @@ enum CpuMask {
static const EnumParseTable cpu_mask_tbl[] = {
#if ARCH_AARCH64 || ARCH_ARM
{ "neon", DAV1D_ARM_CPU_FLAG_NEON },
+#elif ARCH_PPC64LE
+ { "vsx", DAV1D_PPC_CPU_FLAG_VSX },
#elif ARCH_X86
{ "sse2", X86_CPU_MASK_SSE2 },
{ "ssse3", X86_CPU_MASK_SSSE3 },