Arm Community
Site
Search
User
Site
Search
User
Arm Developer
Documentation
Learning Paths
On-Demand Videos
Groups
Arm Ambassadors
Education Hub
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Automotive forum
Compilers and Libraries forum
Embedded and Microcontrollers forum
High Performance Computing (HPC) forum
Internet of Things (IoT) forum
Keil forum
Laptops and Desktops forum
Mobile, Graphics, and Gaming forum
Morello forum
Operating Systems forum
Servers and Cloud Computing forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded and Microcontrollers blog
Internet of Things (IoT) blog
Laptops and Desktops blog
Mobile, Graphics, and Gaming blog
Operating Systems blog
Servers and Cloud Computing blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
Vector shift with Neon error
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
120 subscribers
Views
3315 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
Vector shift with Neon error
John Mudumbe
over 11 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
Hi Everyone,
I am trying to shift elements in the vectors with a constant int variable,
but i get an error during compile time saying :
arm_neon.h:3850 error: argument must be a constan
t.
whenever i replace the constant int variable with a constant value , the compiler works just fine.
I have tried to search for solutions online but i am not getting anywhere.
I am using a 2009q arm tool chain and I also tried the using the Dstream tool chain but it is not working for arm cortex A8.
if anyone heres my cry for help and has a solution please reach out and help urgently..
Peter Harris
over 11 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
Can you please give a code sample - it's hard to work out exactly what you have done without seeing the code.
I suspect you are trying to give it a "const int", which is not a compile time constant and therefore invalid. The shift amount is not passed in a register, it is part of the instruction encoding.
HTH,
Iso
Cancel
Vote up
0
Vote down
Cancel
John Mudumbe
over 11 years ago
Cancel
Vote up
0
Vote down
Cancel
Simon Pilgrim
over 11 years ago
Cancel
Vote up
0
Vote down
Cancel
John Mudumbe
over 11 years ago
Note: This was originally posted on 4th April 2013 at
http://forums.arm.com
I wanted to know, am running the MVC code on arm-cortex A8 and I want to see how much of the code is optimized, is gprof- good enough or is there any other tool I can use?
I have noticed that the gprof is not consistent in terms of time calculations spend on all procedures.
What other tool can I use to find time precision?
Converting the above code in assmbly language will it also improve the neon optimization or there is no difference at all?
Cancel
Vote up
0
Vote down
Cancel