fmt-ops: add R-V V optimizations for f32_s16

This commit is contained in:
sunyuechi 2024-09-17 08:58:14 +08:00 committed by Wim Taymans
parent 8166b9c580
commit d932e52d5b
6 changed files with 71 additions and 0 deletions

View file

@ -105,6 +105,17 @@ if have_neon
simd_dependencies += audioconvert_neon
endif
if have_rvv
audioconvert_rvv = static_library('audioconvert_rvv',
['fmt-ops-rvv.c' ],
c_args : ['-O3', '-DHAVE_RVV'],
dependencies : [ spa_dep ],
install : false
)
simd_cargs += ['-DHAVE_RVV']
simd_dependencies += audioconvert_rvv
endif
sparesampledumpcoeffs_sources = [
'resample-native.c',
'resample-native-c.c',