Skip to content

Build error on android NDK r29 #2694

Description

@KaluaBilla

Building with Android NDK r29-beta3 for x86_64 fails with |

In file included from /home/b/build/x/highway/hwy/per_target.cc:27:
In file included from /home/b/build/x/highway/hwy/foreach_target.h:149:
In file included from /home/b/build/x/highway/hwy/per_target.cc:28:
In file included from /home/b/build/x/highway/hwy/highway.h:688:
In file included from /home/b/build/x/highway/hwy/ops/x86_avx3-inl.h:20:
In file included from /home/b/build/x/highway/hwy/ops/x86_512-inl.h:84:
/home/b/build/x/highway/hwy/ops/x86_256-inl.h:6922:20: error: use of undeclared identifier '_mm256_cvtts_pd_epi32'; did you mean '_mm256_cvttspd_epi32'?
 6922 |   return VFromD<D>{_mm256_cvtts_pd_epi32(v.raw)};
      |                    ^~~~~~~~~~~~~~~~~~~~~
      |                    _mm256_cvttspd_epi32
/opt/android-ndk-r29-beta3/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21/include/avx10_2satcvtdsintrin.h:93:1: note: '_mm256_cvttspd_epi32' declared here
   93 | _mm256_cvttspd_epi32(__m256d __A) {
      | ^
In file included from /home/b/build/x/highway/hwy/per_target.cc:27:
In file included from /home/b/build/x/highway/hwy/foreach_target.h:149:
In file included from /home/b/build/x/highway/hwy/per_target.cc:28:
In file included from /home/b/build/x/highway/hwy/highway.h:688:
In file included from /home/b/build/x/highway/hwy/ops/x86_avx3-inl.h:20:
In file included from /home/b/build/x/highway/hwy/ops/x86_512-inl.h:84:
/home/b/build/x/highway/hwy/ops/x86_256-inl.h:6954:20: error: use of undeclared identifier '_mm256_cvtts_pd_epu32'; did you mean '_mm256_cvttspd_epu32'?
 6954 |   return VFromD<D>{_mm256_cvtts_pd_epu32(v.raw)};
      |                    ^~~~~~~~~~~~~~~~~~~~~
      |                    _mm256_cvttspd_epu32
/opt/android-ndk-r29-beta3/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21/include/avx10_2satcvtdsintrin.h:145:1: note: '_mm256_cvttspd_epu32' declared here
  145 | _mm256_cvttspd_epu32(__m256d __A) {
      | ^
In file included from /home/b/build/x/highway/hwy/per_target.cc:27:
In file included from /home/b/build/x/highway/hwy/foreach_target.h:149:
In file included from /home/b/build/x/highway/hwy/per_target.cc:28:
In file included from /home/b/build/x/highway/hwy/highway.h:688:
In file included from /home/b/build/x/highway/hwy/ops/x86_avx3-inl.h:20:
In file included from /home/b/build/x/highway/hwy/ops/x86_512-inl.h:84:
/home/b/build/x/highway/hwy/ops/x86_256-inl.h:7251:20: error: use of undeclared identifier '_mm256_cvtts_ps_epi32'; did you mean '_mm256_cvttsps_epi32'?
 7251 |   return VFromD<D>{_mm256_cvtts_ps_epi32(v.raw)};
      |                    ^~~~~~~~~~~~~~~~~~~~~
      |                    _mm256_cvttsps_epi32
/opt/android-ndk-r29-beta3/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21/include/avx10_2satcvtdsintrin.h:302:1: note: '_mm256_cvttsps_epi32' declared here
  302 | _mm256_cvttsps_epi32(__m256 __A) {
      | ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions