Vector shift with Neon error

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 constant.
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
  • 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?
Reply
  • 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?
Children
No data
More questions in this forum