native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
native.x86.crc32c Module Reference

Exported Modules

module  native.x86.features

Functions

template<isa< x86 > Arch = NATIVE_BASELINE>
requires (Arch.has(x86_feature::crc32))
constexpr std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint8_t value) noexcept
 Update a 32-bit CRC32C accumulator with exactly eight bits.
template<isa< x86 > Arch = NATIVE_BASELINE>
requires (!Arch.has(x86_feature::crc32))
consteval std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint8_t value) noexcept
 Evaluate the same operation at compile time when Arch lacks the feature.
template<isa< x86 > Arch = NATIVE_BASELINE>
requires (Arch.has(x86_feature::crc32))
constexpr std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint16_t value) noexcept
 Update a 32-bit CRC32C accumulator with exactly sixteen bits.
template<isa< x86 > Arch = NATIVE_BASELINE>
requires (!Arch.has(x86_feature::crc32))
consteval std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint16_t value) noexcept
 Evaluate the same operation at compile time when Arch lacks the feature.
template<isa< x86 > Arch = NATIVE_BASELINE>
requires (Arch.has(x86_feature::crc32))
constexpr std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint32_t value) noexcept
 Update a 32-bit CRC32C accumulator with exactly thirty-two bits.
template<isa< x86 > Arch = NATIVE_BASELINE>
requires (!Arch.has(x86_feature::crc32))
consteval std::uint32_t native::crc32c (std::uint32_t accumulator, std::uint32_t value) noexcept
 Evaluate the same operation at compile time when Arch lacks the feature.

Files

file  src/native.x86.crc32c.ccm