/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/acl/meson.build
30 строк
927 B
Sun Yuechi
acl: add classify with RISC-V vector extension
02 июн 2026, 18:57
02 июн 2026, 18:57
24162fa
Код
Авторство
О чём код?
# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation if is_windows build = false reason = 'not supported on Windows' subdir_done() endif cflags += no_wvla_cflag sources = files('acl_bld.c', 'acl_gen.c', 'acl_run_scalar.c', 'rte_acl.c', 'tb_mem.c') headers = files('rte_acl.h', 'rte_acl_osdep.h') if dpdk_conf.has('RTE_ARCH_X86') sources += files('acl_run_sse.c') sources_avx2 += files('acl_run_avx2.c') # AVX512 is only supported on 64-bit builds if dpdk_conf.has('RTE_ARCH_X86_64') sources_avx512 += files('acl_run_avx512.c') endif elif dpdk_conf.has('RTE_ARCH_ARM') cflags += '-flax-vector-conversions' sources += files('acl_run_neon.c') elif dpdk_conf.has('RTE_ARCH_PPC_64') sources += files('acl_run_altivec.c') elif dpdk_conf.has('RTE_ARCH_RISCV') and dpdk_conf.has('RTE_RISCV_FEATURE_V') sources += files('acl_run_rvv.c') endif