Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
NEON-How to shift the whole D or Q to left or right?
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
4274 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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?
Alan Chen
over 12 years ago
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
Parents
Alan Chen
over 12 years ago
Note: This was originally posted on 16th July 2012 at
http://forums.arm.com
Thank you.
But could you write one example and let me konw how I can use VEXT to implement byte shift?
And if I can use VEXT to shift two bytes in one instruction?
Cancel
Vote up
0
Vote down
Cancel
Reply
Alan Chen
over 12 years ago
Note: This was originally posted on 16th July 2012 at
http://forums.arm.com
Thank you.
But could you write one example and let me konw how I can use VEXT to implement byte shift?
And if I can use VEXT to shift two bytes in one instruction?
Cancel
Vote up
0
Vote down
Cancel
Children
No data