Use run-time CPU feature detection for Neon DotProd SAD4D
authorJonathan Wright <jonathan.wright@arm.com>
Sat, 19 Aug 2023 19:59:40 +0000 (20:59 +0100)
committerJonathan Wright <jonathan.wright@arm.com>
Sun, 3 Sep 2023 22:04:49 +0000 (23:04 +0100)
commit7009fe55a9a7aed3a3504c09c677de0326c8207b
tree48b538c4502a555eb3c1e1e142ddae0bd6c4f1c4
parent02dc617f8cbd7a39ec1125b950a1d6f8ceba70f1
Use run-time CPU feature detection for Neon DotProd SAD4D

Arm Neon DotProd implementations of vpx_sad*4d currently need to be
enabled at compile time since they're guarded by ifdef feature
macros. Now that run-time feature detection has been enabled for Arm
platforms, expose these implementations with distinct *neon_dotprod
names in separate files and wire them up to the build system and
rtcd.pl. Also add new test cases for the new DotProd functions.

Change-Id: Ie99ee0b03ec488626f52c3f13e4111fe26cc5619
test/sad_test.cc
vpx_dsp/arm/sad4d_neon.c
vpx_dsp/arm/sad4d_neon_dotprod.c [new file with mode: 0644]
vpx_dsp/vpx_dsp.mk
vpx_dsp/vpx_dsp_rtcd_defs.pl