Portable bit‐operation backend using compiler builtins.
Synopsis
Declared in <folly/compression/Instructions.h>
struct Default;
Static Member Functions
Name |
Description |
Extract |
|
Clears the lowest set bit of a value. |
|
Clear high bits starting at position index. |
|
Counts leading zero bits in a nonzero value. |
|
Counts trailing zero bits in a nonzero value. |
|
Returns the backend name. |
|
Counts the set bits in a value. |
|
Reports whether this backend runs on the given CPU. |