You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clang 14.0.7 (Android NDK 25.2) produces the following error when cross-compiling from Ubuntu 22 for the aarch64 target.
sse2neon.h:5457:33: error: cannot initialize a parameter of type 'float32x4_t' (vector of 4 'float32_t' values) with an lvalue of type '__m128d' (aka 'float64x2_t')
__builtin_nontemporal_store(a, (float32x4_t *) p);
The text was updated successfully, but these errors were encountered:
It succeeded. However, when option -flax-vector-conversions is passed to clang, I got the same errors:
./sse2neon.h:5457:33: error: cannot initialize a parameter of type 'float32x4_t' (vector of 4 'float32_t' values) with an lvalue of type '__m128d' (aka 'float64x2_t')
__builtin_nontemporal_store(a, (float32x4_t *) p);
^
1 error generated.
One possible solution is to get rid of option -flax-vector-conversions.
Clang 14.0.7 (Android NDK 25.2) produces the following error when cross-compiling from Ubuntu 22 for the aarch64 target.
The text was updated successfully, but these errors were encountered: