Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
copy each element value to ARM register
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
118 subscribers
Views
3583 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
copy each element value to ARM register
Rachit Shah
over 12 years ago
Note: This was originally posted on 25th June 2009 at
http://forums.arm.com
Hello,
How to copy NEON Double word or Quad Word each element value into ARM register 's bit?
like D0 = {0,0,1,1,1,1,0,0} so R0 = 0x0000003C
Thanks
Rachit Shah
over 12 years ago
Note: This was originally posted on 26th June 2009 at
http://forums.arm.com
Hello sim,
Thanks,
I have checked with it and it's working fine.
Does it have any similar NEON instruction to reduce cycle time?
Cancel
Vote up
0
Vote down
Cancel
Rachit Shah
over 12 years ago
Note: This was originally posted on 27th June 2009 at
http://forums.arm.com
Hello,
Yes , I have to extract particular bits from quad word register and insert into ARM register bit positions.
like "pmovmskb eax, xmm0" instrcution in SSE2 of x86 assembly.
Thanks
Cancel
Vote up
0
Vote down
Cancel
Simon Craske
over 12 years ago
Note: This was originally posted on 25th June 2009 at
http://forums.arm.com
[font="Courier New"]VMOV r0,r1,d0
ORR r0,r0,r1,LSL#4
ORR r0,r0,r0,LSR#7
ORR r0,r0,r0,LSR#14
UXTB r0,r0[/font]
would be one solution.
s.
Cancel
Vote up
0
Vote down
Cancel
Simon Craske
over 12 years ago
Note: This was originally posted on 26th June 2009 at
http://forums.arm.com
I don't believe so; does byte to bit conversion form a significant part of your algorithm?
s.
Cancel
Vote up
0
Vote down
Cancel