universal_crc is a CRC calculation software that generates optimized ANSI C code, facilitating the generation of cyclic redundancy checks with ease. It is a utility that can be used by developers and programmers to expedite the process of generating CRC calculations.
Users can specify a range of parameters to customize the CRC calculation process. The "-b" parameter sets the number of bits in the CRC register, which can be anywhere from 1 to 64. The "-p" parameter specifies the CRC polynomial value, with the coefficient of x^0 being bit 0 (LSB) of this value. The "-i" parameter sets the initial value of the CRC register, and the "-x" parameter sets the value that is XORed to the final CRC register value.
The utility also supports a range of additional options for customizing the CRC calculation process. The "-r" parameter bit-reverses the CRC register, while the "-n" parameter specifies the use of the non-direct mode for augmenting the message. Users can also specify the algorithm to use for CRC calculation, with the default being the standard bit-at-a-time algorithm.
The utility generates highly optimized code that offers excellent performance on a range of systems. An example output is provided, which shows the performance of the generated CRC code on an AMD Athlon 64 in 32-bit mode. Performance is measured in cycles per byte for a range of CRC bit lengths and algorithms.
Overall, universal_crc is an excellent utility that offers easy-to-use, highly customizable, and optimized CRC calculation capabilities. Its open-source nature and excellent performance make it an excellent choice for anyone looking for a powerful CRC calculation tool.
Version 1.2: N/A