Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

Arm.Neon.__crc32h

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static uint __crc32h(uint a0, ushort a1);

Parameters

Parameter Description
a0 UInt32 a0
a1 UInt16 a1

Returns

uint UInt32

Description

CRC32 checksum performs a cyclic redundancy check (CRC) calculation on a value held in a general-purpose register. It takes an input CRC value in the first source operand, performs a CRC on the input value in the second source operand, and returns the output CRC value. The second source operand can be 8, 16, 32, or 64 bits. To align with common usage, the bit order of the values is reversed as part of the operation, and the polynomial 0x04C11DB7 is used for the CRC calculation. Equivalent instruction: CRC32H Wd,Wn,Wm