folly::compression::instructions::Type

Selects an instruction-set backend at runtime.

Synopsis

Declared in <folly/compression/Instructions.h>

enum class Type : int;

Members

NameDescription
DEFAULT The portable builtin backend.
NEHALEM The Nehalem backend using hardware POPCNT.
HASWELL The Haswell backend using BMI1/BMI2 instructions.

Non-Member Functions

NameDescription
detectDetects the best supported instruction-set backend for this CPU.
dispatchInvokes a callable with an instance of the given backend type.