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
Hi, I'm using SIMDe to convert AVX to neon, and there's _mm256_slli_epi16 in my original code.
when compiling with gcc13.2, it's fine.
When changed to Clang, it will have compile error.
Seems in gcc13.2, vshlq_n_s16() internally will use __builtin_aarch64_ashlv8hi(), and it's OK.
But in Clang, vshlq_n_s16() will use __builtin_neon_vshlq_n_v(), which needs a compile stage constant for the 2nd parameter.
Is there anything I can do for this? or did I miss anything?
The text was updated successfully, but these errors were encountered:
Hi, I'm using SIMDe to convert AVX to neon, and there's _mm256_slli_epi16 in my original code.
when compiling with gcc13.2, it's fine.
When changed to Clang, it will have compile error.
Seems in gcc13.2, vshlq_n_s16() internally will use __builtin_aarch64_ashlv8hi(), and it's OK.
But in Clang, vshlq_n_s16() will use __builtin_neon_vshlq_n_v(), which needs a compile stage constant for the 2nd parameter.
Is there anything I can do for this? or did I miss anything?
The text was updated successfully, but these errors were encountered: