added builtin popcount