summaryrefslogtreecommitdiff
path: root/vpx_dsp/arm/vpx_convolve8_neon.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-05-04 02:16:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-05-04 02:16:12 +0000
commit4dd3afc00eb0c9d74dfa18bb8e727dbfb98e92ff (patch)
tree5481e8458ee8887ea59a144f62a65396ce54d2c9 /vpx_dsp/arm/vpx_convolve8_neon.c
parent69d5d16552d8b1b1e43f0ff4f1e6f79ebaa2a373 (diff)
parent57b9afa58f849a8165ce3132c21087ae451d862c (diff)
downloadlibvpx-4dd3afc00eb0c9d74dfa18bb8e727dbfb98e92ff.tar.gz
Merge changes I4d26f5f8,I12e25710 into main
* changes: s/__aarch64__/VPX_ARCH_AARCH64/ configure: add aarch64 to ARCH_LIST
Diffstat (limited to 'vpx_dsp/arm/vpx_convolve8_neon.c')
-rw-r--r--vpx_dsp/arm/vpx_convolve8_neon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vpx_dsp/arm/vpx_convolve8_neon.c b/vpx_dsp/arm/vpx_convolve8_neon.c
index b4cdd58c7..b312cc747 100644
--- a/vpx_dsp/arm/vpx_convolve8_neon.c
+++ b/vpx_dsp/arm/vpx_convolve8_neon.c
@@ -31,7 +31,7 @@
// instructions. This optimization is much faster in speed unit test, but slowed
// down the whole decoder by 5%.
-#if defined(__aarch64__) && \
+#if VPX_ARCH_AARCH64 && \
(defined(__ARM_FEATURE_DOTPROD) || defined(__ARM_FEATURE_MATMUL_INT8))
DECLARE_ALIGNED(16, static const uint8_t, dot_prod_permute_tbl[48]) = {
@@ -1261,7 +1261,7 @@ void vpx_convolve8_avg_vert_neon(const uint8_t *src, ptrdiff_t src_stride,
#endif // defined(__ARM_FEATURE_MATMUL_INT8)
-#else // !(defined(__aarch64__) &&
+#else // !(VPX_ARCH_AARCH64 &&
// (defined(__ARM_FEATURE_DOTPROD) ||
// defined(__ARM_FEATURE_MATMUL_INT8)))
@@ -2105,6 +2105,6 @@ void vpx_convolve8_avg_vert_neon(const uint8_t *src, ptrdiff_t src_stride,
}
}
-#endif // #if defined(__aarch64__) &&
+#endif // #if VPX_ARCH_AARCH64 &&
// (defined(__ARM_FEATURE_DOTPROD) ||
// defined(__ARM_FEATURE_MATMUL_INT8))