@@ -24,6 +24,8 @@ extern "unadjusted" {
2424use stdarch_test:: assert_instr;
2525
2626/// CRC32 single round checksum for bytes (8 bits).
27+ ///
28+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32b)
2729#[ inline]
2830#[ target_feature( enable = "crc" ) ]
2931#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
@@ -33,6 +35,8 @@ pub unsafe fn __crc32b(crc: u32, data: u8) -> u32 {
3335}
3436
3537/// CRC32 single round checksum for half words (16 bits).
38+ ///
39+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32h)
3640#[ inline]
3741#[ target_feature( enable = "crc" ) ]
3842#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
@@ -42,6 +46,8 @@ pub unsafe fn __crc32h(crc: u32, data: u16) -> u32 {
4246}
4347
4448/// CRC32 single round checksum for words (32 bits).
49+ ///
50+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32w)
4551#[ inline]
4652#[ target_feature( enable = "crc" ) ]
4753#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
@@ -51,6 +57,8 @@ pub unsafe fn __crc32w(crc: u32, data: u32) -> u32 {
5157}
5258
5359/// CRC32-C single round checksum for bytes (8 bits).
60+ ///
61+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32cb)
5462#[ inline]
5563#[ target_feature( enable = "crc" ) ]
5664#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
@@ -60,6 +68,8 @@ pub unsafe fn __crc32cb(crc: u32, data: u8) -> u32 {
6068}
6169
6270/// CRC32-C single round checksum for half words (16 bits).
71+ ///
72+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32ch)
6373#[ inline]
6474#[ target_feature( enable = "crc" ) ]
6575#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
@@ -69,6 +79,8 @@ pub unsafe fn __crc32ch(crc: u32, data: u16) -> u32 {
6979}
7080
7181/// CRC32-C single round checksum for words (32 bits).
82+ ///
83+ /// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/__crc32cw)
7284#[ inline]
7385#[ target_feature( enable = "crc" ) ]
7486#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
0 commit comments