simd-everywhere / simde

Implementations of SIMD instruction sets for systems which don't natively support them.
https://simd-everywhere.github.io/blog/
MIT License
2.28k stars 237 forks source link

arm: enable more intrinsic function for armv7 #1172

Closed zengdage closed 3 months ago

zengdage commented 3 months ago

Hi, I run the arm-neon-tests (https://github.com/christophe-lyon/arm-neon-tests) for simde neon2rvv, and have set the flags -DSIMDE_RISCV_V_NATIVE -DSIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES to compiler. But I get some compiler reported errors as follow, it means that vld4_s6 is not supported in simde neon2rvv.

ref_vldX.c:200:3: error: call to undeclared function 'vld4_s64'; ISO C99 and later do not support implicit function declarations 

As I know,vld4_s64 and the other intrinsic function which are mentioned in my patch are supported in armv7 platform. But simde disable them in armv7 platform. So I upload the patch to enable those intrinsic function in armv7 platform. Please help to review, thanks.