We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
UQRSHRN can be used to do bit shifting with rounding. However it looks like the rounding behavior is always rounding to nearest integer.. but in case of ties rounds away from 0.
Is there a way to control the rounding behavior used in UQRSHRN and consequently vqrshrn_n_u16 to match the different rounding modes?
More specifically, I would like to round to nearest integer but incase of ties at 0.5 round to nearest even.
This would help mimic the behavior our code observes on x86 platforms.