__crc32b, __crc32h, __crc32w, __crc32d
In this section:
Syntax
unsigned int __crc32b(unsigned int crc, unsigned char data); unsigned int __crc32h(unsigned int crc, unsigned short data); unsigned int __crc32w(unsigned int crc, unsigned int data); unsigned int __crc32d(unsigned int crc, unsigned long long data);
Description
Calculates a CRC32 checksum from a checksum (or initial value) crc and one item of data.
Note
The 32-bit Arm/Thumb instructions do not include CRC32X, so __crc32d is implemented as two calls to __crc32w.
These intrinsic functions are defined according to the Arm C Language Extensions (ACLE). For more details, see the ACLE documentation at developer.arm.com.
Note
To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.