diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2018-09-29 14:57:29 +0300 |
---|---|---|
committer | Henrik Gramner <gramner@twoorioles.com> | 2018-09-29 18:22:24 +0300 |
commit | 35e777f3780327ea055339408bf7f9c1313254ce (patch) | |
tree | 1a2deaf17576a2d8be070e721e62b8358f0173eb /src/cpu.h | |
parent | e72c2e45748a9f80223d57333772419f00fc4e7e (diff) |
build: add support for arm/aarch64 asm and integrate checkasm
Diffstat (limited to 'src/cpu.h')
-rw-r--r-- | src/cpu.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -30,11 +30,13 @@ #include "config.h" -#if ARCH_X86 +#if ARCH_AARCH64 || ARCH_ARM +#include "src/arm/cpu.h" +#elif ARCH_X86 #include "src/x86/cpu.h" -#else -#define dav1d_get_cpu_flags 0 -#define dav1d_set_cpu_flags_mask(mask) while (0) #endif +unsigned dav1d_get_cpu_flags(void); +void dav1d_set_cpu_flags_mask(const unsigned mask); + #endif /* __DAV1D_SRC_CPU_H__ */ |