Class X86.Popcnt
popcnt intrinsics
Inherited Members
Namespace: Unity.Burst.Intrinsics
Assembly: Unity.Burst.dll
Syntax
public static class X86.Popcnt
Properties
| Name | Description |
|---|---|
| IsPopcntSupported | Evaluates to true at compile time if popcnt intrinsics are supported. Burst ties popcnt support to SSE4.2 support to simplify feature sets to support. |
Methods
| Name | Description |
|---|---|
| popcnt_u32(uint) | Count the number of bits set to 1 in unsigned 32-bit integer a, and return that count in dst. |
| popcnt_u64(ulong) | Count the number of bits set to 1 in unsigned 64-bit integer a, and return that count in dst. |