xiph / LPCNet

Efficient neural speech synthesis
BSD 3-Clause "New" or "Revised" License
1.14k stars 295 forks source link

Is LPCNet still support armv7a? #163

Open sheepHavingPurpleLeaf opened 3 years ago

sheepHavingPurpleLeaf commented 3 years ago

Hello! I see in the vec_neon.h which now contains intrinsics like "vcvtnq_s32_f32". This is a intrinsic only supported by A32 and A64 according to Arm document: https://developer.arm.com/architectures/instruction-sets/intrinsics/ When I try to compile with armv7a, it will generate incompatiable type error such as:

vec_neon.h:301:11: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
      xi0 = vcvtnq_s32_f32(vmulq_f32(const127, vld1q_f32(&_x[i]))); 

Is the LPCNet master only support armv8a now?

jmvalin commented 3 years ago

I'm looking at emulating those instructions for armv7, but for the time being you can just configure with --disable-dot-product and things should work.