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

neon: avoid warnings when "__ARM_NEON_FP" is not defined. #1179

Closed clopez closed 2 months ago

clopez commented 2 months ago

WebKit project recently imported simde 0.8.2 Since then the build for Aarch64 targeting RPi4 boards has started giving lot of warnings related to the simde header:

warning: "__ARM_NEON_FP" is not defined, evaluates to 0 [-Wundef]

Add a check to ensure that __ARM_NEON_FP is defined.

Related: https://bugs.webkit.org/show_bug.cgi?id=273789

mr-c commented 2 months ago

Thank you @clopez and thanks for the nice news about webkit using SIMDe!