This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Division with NEON

Note: This was originally posted on 30th September 2011 at http://forums.arm.com

Hi.

I have 4 unsigned 16bit values into a Dn register (or 8 into a Qn register)

[v1] [v2] [v3] [v4]

I'm looking for the code to finaly have

[65536 / v1] [65536 / v2] [65536 / v3] [65536 / v4]

into another (or the same) Dn (or Qn) register...
Thank's

Etienne
Parents
  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com

    Hi,
    I ended up on this discussion while looking for a way to use integer division into ARM NEON registers.

    My problem is similar, the only difference is that I need to work with signed 16 bit integers instead of unsigned ones.

    Is there any way to do this? Also, I don't understand how the original uint16 bit problem of the post has been solved converting uint32 to float32. How can this be possible with the case of the uint16x8_t bit Qn register?

    Thanks,

    Francesco
Reply
  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com

    Hi,
    I ended up on this discussion while looking for a way to use integer division into ARM NEON registers.

    My problem is similar, the only difference is that I need to work with signed 16 bit integers instead of unsigned ones.

    Is there any way to do this? Also, I don't understand how the original uint16 bit problem of the post has been solved converting uint32 to float32. How can this be possible with the case of the uint16x8_t bit Qn register?

    Thanks,

    Francesco
Children
No data