Compilation error in NEON packet math
@rmlarsen1
Submitted by Rasmus Munk LarsenAssigned to Nobody
Link to original bugzilla bug (#1631)
Version: 3.4 (development)
Operating system: Android
Description
With the most recent updates to NEON packet math, we get the following compilation error for Android with clang 7.0.2:
third_party/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h:398:32: error: argument to '__builtin_neon_vshlq_n_v' must be a constant integer
return vreinterpretq_f32_s32(vshlq_n_s32(vi, n));
^ ~
third_party/android/ndk/stable/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib64/clang/7.0.2/include/arm_neon.h:23043:23: note: expanded from macro 'vshlq_n_s32'
__ret = (int32x4_t) __builtin_neon_vshlq_n_v((int8x16_t)__s0, __p1, 34); \
^ ~~~~
2 errors generated.```
Edited by Eigen Bugzilla