ridiculousfish / libdivide

Official git repository for libdivide: optimized integer division
http://libdivide.com
Other
1.09k stars 77 forks source link

NEON is not for AArch32 #102

Open clausecker opened 2 years ago

clausecker commented 2 years ago

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.