News for hackers. Stuff that matters.
Re:Poll: How many programmers don't know about bit-wise oper... by justincormack on Sunday April 07, 2013 @06:52AM (#5506766)
Perfomance uses are pretty pointless now, as I discovered ten years ago when I found that gcc could turn masked shifts into a native rotate. So for multiply or divide just do so. Obviously where the underlying ops are xor etc, you use them. Most of the time I find myself using the for masking flags in system calls nowdays though and similar.

There are no comments on this comment yet.