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

NEON-How to shift the whole D or Q to left or right?

Note: This was originally posted on 12th July 2012 at http://forums.arm.com

Hello


   Base on NEON instuction set, I can find the VSHL or VSHR to perform shift operation. But it is just for every element.

How can I shift the whole D or Q register to left or right?

For instance, if D = 0x0001020304050607, when it shift right 8 bit, it should become D=0x0000010203040506.

 


Best Regards,
Alan Chen