On Wednesday, January 11, 2017 at 12:38:35 AM UTC+1, not...@google.com 
wrote:
>
> Are bit rotations complied to single instructions?  Specifically things 
> like:
>
> var a uint32
> (a << 5) | (a >> (32 - 5)
>

They will be (with 1.9) for constant rotate values: 
https://github.com/golang/go/issues/18254

Damian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to