Fix inacurrate reference
Add actual source
[sgen] Use gcc bitcount intrinsics where appropriate.