Skip to content

Commit af80aef

Browse files
JavaDergAmanieu
authored andcommitted
fixed documentation crc32 -> crc32-c (with x86(_64))
1 parent e4fffe8 commit af80aef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/core_arch/src/x86/sse42.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ pub unsafe fn _mm_cmpestra<const IMM8: i32>(a: __m128i, la: i32, b: __m128i, lb:
520520
}
521521

522522
/// Starting with the initial value in `crc`, return the accumulated
523-
/// CRC32 value for unsigned 8-bit integer `v`.
523+
/// CRC32-C value for unsigned 8-bit integer `v`.
524524
///
525525
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u8)
526526
#[inline]
@@ -532,7 +532,7 @@ pub unsafe fn _mm_crc32_u8(crc: u32, v: u8) -> u32 {
532532
}
533533

534534
/// Starting with the initial value in `crc`, return the accumulated
535-
/// CRC32 value for unsigned 16-bit integer `v`.
535+
/// CRC32-C value for unsigned 16-bit integer `v`.
536536
///
537537
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u16)
538538
#[inline]
@@ -544,7 +544,7 @@ pub unsafe fn _mm_crc32_u16(crc: u32, v: u16) -> u32 {
544544
}
545545

546546
/// Starting with the initial value in `crc`, return the accumulated
547-
/// CRC32 value for unsigned 32-bit integer `v`.
547+
/// CRC32-C value for unsigned 32-bit integer `v`.
548548
///
549549
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u32)
550550
#[inline]

crates/core_arch/src/x86_64/sse42.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extern "C" {
1010
}
1111

1212
/// Starting with the initial value in `crc`, return the accumulated
13-
/// CRC32 value for unsigned 64-bit integer `v`.
13+
/// CRC32-C value for unsigned 64-bit integer `v`.
1414
///
1515
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u64)
1616
#[inline]

0 commit comments

Comments
 (0)