How to implement divide with MVE intrinsic (Cortex M85)

Hi all,

In ARM v8.1-M with M-profile Vector Extension (MVE/Helium), we can perform vectorized arithmetic operations such as multiply, add, and subtract using intrinsic.

However, there is no intrinsic support for division.

For constant divisors, we can sometimes use the "magic number + right shift" method to approximate division.

This approach works well in many cases, but for certain divisors, the magic number can be too large or complex to compute efficiently.

For variable divisors, the situation is more challenging since MVE does not provide a native vector divide instruction.

So, if we want to use the divide with MVE intrinsic, how can we do? Is there any suggestion or code for reference.

Thanks.