• arithmetic left-shift wrap-around
    I have run into an issue when performing arithmetic left-shifts in C with Keil when the shift operand is a constant. Specifically, if the operand is a constant and specifies a shift value larger than...
  • working with right shift operators in C
    I am facing a problem in using the right shift operator in C with keil. The instruction is:for(i=0;i<=8;i++) { j=sum>>i; } where sum= 32 bit no. the instruction is not executed if the syntax is as...
  • Cortex M3 - Right Shift Bug
    Hi, I'm using uVision 3.33, supplied as part of the Luminary Micro design contest. I've noticed the following problem when trying to right-shift a 16-bit unsigned value. The code produced is...
  • 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...
  • How to "optimize" self-defined 32bit shift-left routine ?
    Dear all, I encountered one problem about "executing self-defined 32bit shift-left routine too long"... That is, I built my own routine to execute 32-bit shift left operation and found it takes...