add memset and popcnt