ctpop and bswap implementation

bswap can also be implemented by switching the order of operations,
i.e. by first ANDing and then doing Shift operation. Not sure if
this will be faster or the same as the way its right now implemented?