* Get the count of 1-bits in v. * * @param v * The value. * @return * The count of 1-bits. */
| 334 | * The count of 1-bits. |
| 335 | */ |
| 336 | static inline unsigned int |
| 337 | rte_popcount64(uint64_t v) |
| 338 | { |
| 339 | return (unsigned int)__popcnt64(v); |
| 340 | } |
| 341 | |
| 342 | #else |
| 343 |
no outgoing calls