Don Clugston wrote:
> Rotations without carry would be very nice.
Rotations without carry are available if the compiler recognizes the
common idioms:
gcc recognizes:
unsigned int foo(unsigned int u)
{
return u << 16 | u >> 16;
}
(will make a rotate instruction, if possible)