If you call __builtin_popcount on a constant (e.g. __builtin_popcount(0x55)) it compiles, but if you use __builtin_popcount on a variable (in my case on a 16-bit integer value), the error "undefined reference to `__popcounthi2'" is generated. Is this func..
↧