diff options
author | trav90 <travawine@palemoon.org> | 2018-10-19 21:52:15 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-10-19 21:52:20 -0500 |
commit | bbcc64772580c8a979288791afa02d30bc476d2e (patch) | |
tree | 437ce94c3fdd7497508e5b55de06c6d011678597 /third_party/aom/aom_ports/arm_cpudetect.c | |
parent | 14805f6ddbfb173c327768fff9f81f40ce5e81b0 (diff) | |
download | UXP-bbcc64772580c8a979288791afa02d30bc476d2e.tar UXP-bbcc64772580c8a979288791afa02d30bc476d2e.tar.gz UXP-bbcc64772580c8a979288791afa02d30bc476d2e.tar.lz UXP-bbcc64772580c8a979288791afa02d30bc476d2e.tar.xz UXP-bbcc64772580c8a979288791afa02d30bc476d2e.zip |
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
Diffstat (limited to 'third_party/aom/aom_ports/arm_cpudetect.c')
-rw-r--r-- | third_party/aom/aom_ports/arm_cpudetect.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/third_party/aom/aom_ports/arm_cpudetect.c b/third_party/aom/aom_ports/arm_cpudetect.c index 4dd1a1a62..70efee996 100644 --- a/third_party/aom/aom_ports/arm_cpudetect.c +++ b/third_party/aom/aom_ports/arm_cpudetect.c @@ -12,7 +12,7 @@ #include <stdlib.h> #include <string.h> #include "aom_ports/arm.h" -#include "./aom_config.h" +#include "config/aom_config.h" #ifdef WINAPI_FAMILY #include <winapifamily.h> @@ -50,9 +50,9 @@ int arm_cpu_caps(void) { return flags; } mask = arm_cpu_env_mask(); -#if HAVE_NEON || HAVE_NEON_ASM +#if HAVE_NEON flags |= HAS_NEON; -#endif /* HAVE_NEON || HAVE_NEON_ASM */ +#endif /* HAVE_NEON */ return flags & mask; } @@ -73,7 +73,7 @@ int arm_cpu_caps(void) { * instructions via their assembled hex code. * All of these instructions should be essentially nops. */ -#if HAVE_NEON || HAVE_NEON_ASM +#if HAVE_NEON if (mask & HAS_NEON) { __try { /*VORR q0,q0,q0*/ @@ -83,7 +83,7 @@ int arm_cpu_caps(void) { /*Ignore exception.*/ } } -#endif /* HAVE_NEON || HAVE_NEON_ASM */ +#endif /* HAVE_NEON */ return flags & mask; } @@ -100,9 +100,9 @@ int arm_cpu_caps(void) { mask = arm_cpu_env_mask(); features = android_getCpuFeatures(); -#if HAVE_NEON || HAVE_NEON_ASM +#if HAVE_NEON if (features & ANDROID_CPU_ARM_FEATURE_NEON) flags |= HAS_NEON; -#endif /* HAVE_NEON || HAVE_NEON_ASM */ +#endif /* HAVE_NEON */ return flags & mask; } @@ -129,7 +129,7 @@ int arm_cpu_caps(void) { */ char buf[512]; while (fgets(buf, 511, fin) != NULL) { -#if HAVE_NEON || HAVE_NEON_ASM +#if HAVE_NEON if (memcmp(buf, "Features", 8) == 0) { char *p; p = strstr(buf, " neon"); @@ -137,7 +137,7 @@ int arm_cpu_caps(void) { flags |= HAS_NEON; } } -#endif /* HAVE_NEON || HAVE_NEON_ASM */ +#endif /* HAVE_NEON */ } fclose(fin); } |