Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEON is not for AArch32 #102

Open
clausecker opened this issue Aug 15, 2022 · 0 comments
Open

NEON is not for AArch32 #102

clausecker opened this issue Aug 15, 2022 · 0 comments

Comments

@clausecker
Copy link

Your CMake scripts check for NEON support but also enable NEON on AArch32 (i.e. 32 bit ARM). Unfortunately you use a bunch of instrinsic functions only available on AArch64, leading to a build failure in case of a 32 bit build.

Please either fix your NEON code so it builds on 32 bit ARM or change the detection scripts so they only detect NEON on AArch64.

As a temporary workaround, I configure with -DLIBDIVIDE_NEON=OFF.

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Aug 27, 2022
The NEON code included in this library is for arm64 only.
Disable use of NEON on armv6/armv7.

See <ridiculousfish/libdivide#102>.

PR:		265870
Reported by:	fuz (at) fuz.su
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Aug 27, 2022
The NEON code included in this library is for arm64 only.
Disable use of NEON on armv6/armv7.

See <ridiculousfish/libdivide#102>.

PR:		265870
Reported by:	fuz (at) fuz.su

(cherry picked from commit fbab55b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant