Next: Integer Overflow Builtins, Previous: Byte-Swapping Builtins, Up: Numeric Builtins [Contents][Index]
Returns the calculated 8-bit bit-reversed CRC using the initial CRC (8-bit), data (8-bit) and the polynomial (8-bit). crc is the initial CRC, data is the data and poly is the polynomial without leading 1. poly is required to be a compile-time constant. Table-based or clmul-based CRC may be used for the calculation, depending on the target architecture.
Similar to __builtin_rev_crc8_data8, except the argument and return types are 16-bit.
Similar to __builtin_rev_crc16_data16, except the data argument type is 8-bit.
Similar to __builtin_rev_crc8_data8, except the argument and return types are 32-bit and for the CRC calculation may be also used crc* machine instruction depending on the target and the polynomial.
Similar to __builtin_rev_crc32_data32, except the data argument type is 8-bit.
Similar to __builtin_rev_crc32_data32, except the data argument type is 16-bit.
Similar to __builtin_rev_crc8_data8, except the argument and return types are 64-bit.
Similar to __builtin_rev_crc64_data64, except the data argument type is 8-bit.
Similar to __builtin_rev_crc64_data64, except the data argument type is 16-bit.
Similar to __builtin_rev_crc64_data64, except the data argument type is 32-bit.
Returns the calculated 8-bit bit-forward CRC using the initial CRC (8-bit), data (8-bit) and the polynomial (8-bit). crc is the initial CRC, data is the data and poly is the polynomial without leading 1. poly is required to be a compile-time constant. Table-based or clmul-based CRC may be used for the calculation, depending on the target architecture.
Similar to __builtin_crc8_data8, except the argument and return types are 16-bit.
Similar to __builtin_crc16_data16, except the data argument type is 8-bit.
Similar to __builtin_crc8_data8, except the argument and return types are 32-bit.
Similar to __builtin_crc32_data32, except the data argument type is 8-bit.
Similar to __builtin_crc32_data32, except the data argument type is 16-bit.
Similar to __builtin_crc8_data8, except the argument and return types are 64-bit.
Similar to __builtin_crc64_data64, except the data argument type is 8-bit.
Similar to __builtin_crc64_data64, except the data argument type is 16-bit.
Similar to __builtin_crc64_data64, except the data argument type is 32-bit.
Next: Integer Overflow Builtins, Previous: Byte-Swapping Builtins, Up: Numeric Builtins [Contents][Index]