Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Vector shift with Neon error
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
127 subscribers
Views
2023 views
Users
0 members are here
Related
Vector shift with Neon error
Offline
John Mudumbe
over 7 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..
Parents
Offline
Peter Harris
over 7 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
Up
0
Down
Reply
Cancel
Reply
Offline
Peter Harris
over 7 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
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Suggested Answer
Debugging kernel: OS support not working for Linux 5.4
0
Kernel Developers
External Hardware Debug
Debugger
3199
views
5
replies
Latest
1 month ago
by
sgoldschmidt
Suggested Answer
DS-5 bare metal wait error after run "debug"
0
DS-5 Development Studio
Debugging
Arm Compiler 5
Memory
24687
views
14
replies
Latest
1 month ago
by
prasadghole
Suggested Answer
ARM development studio with ARM Juno r2 board
0
Juno Arm Development Platform
Arm Development Studio
Products
Arm Support
3132
views
2
replies
Latest
1 month ago
by
Ronan Synnott
Answered
"Unable to execute remote query (response code 503) " issue
0
3098
views
1
reply
Latest
1 month ago
by
Ronan Synnott
Not Answered
Where can I download DS-5 hardware firmware??
0
2851
views
1
reply
Latest
1 month ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum