|
native 0.0.1
Vectors, masks and wide register packs for C++26
|
Functions | |
| template<isa< x86 > Arch = NATIVE_BASELINE> requires (Arch.has(x86_feature::popcnt)) | |
| constexpr std::uint16_t | native::popcnt (std::uint16_t value) noexcept |
| template<isa< x86 > Arch = NATIVE_BASELINE> requires (Arch.has(x86_feature::popcnt)) | |
| constexpr std::uint32_t | native::popcnt (std::uint32_t value) noexcept |
| template<isa< x86 > Arch = NATIVE_BASELINE> requires (Arch.has(x86_feature::popcnt)) | |
| constexpr std::uint64_t | native::popcnt (std::uint64_t value) noexcept |
Scalar bit counts requiring only CPUID leaf 1 ECX bit 23. Runtime calls require x86_feature::popcnt in the supplied ISA. Admit that feature before entering a matching target scope. No vector OS state is required. Constant evaluation supports every x86 Arch; weak tags select consteval overloads.
|
inlineconstexprexportnoexcept |
|
inlineconstexprexportnoexcept |
|
inlineconstexprexportnoexcept |