From 7c81ce0606a64b4e527387205b1147bb5b34bb40 Mon Sep 17 00:00:00 2001 From: post-rex Date: Mon, 24 Jan 2022 22:38:57 +0100 Subject: [PATCH] fixed documentation crc32 -> crc32-c (with x86(_64)) --- library/stdarch/crates/core_arch/src/x86/sse42.rs | 6 +++--- library/stdarch/crates/core_arch/src/x86_64/sse42.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/stdarch/crates/core_arch/src/x86/sse42.rs b/library/stdarch/crates/core_arch/src/x86/sse42.rs index fb3a22b51929..f474b0671da1 100644 --- a/library/stdarch/crates/core_arch/src/x86/sse42.rs +++ b/library/stdarch/crates/core_arch/src/x86/sse42.rs @@ -520,7 +520,7 @@ pub unsafe fn _mm_cmpestra(a: __m128i, la: i32, b: __m128i, lb: } /// Starting with the initial value in `crc`, return the accumulated -/// CRC32 value for unsigned 8-bit integer `v`. +/// CRC32-C value for unsigned 8-bit integer `v`. /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u8) #[inline] @@ -532,7 +532,7 @@ pub unsafe fn _mm_crc32_u8(crc: u32, v: u8) -> u32 { } /// Starting with the initial value in `crc`, return the accumulated -/// CRC32 value for unsigned 16-bit integer `v`. +/// CRC32-C value for unsigned 16-bit integer `v`. /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u16) #[inline] @@ -544,7 +544,7 @@ pub unsafe fn _mm_crc32_u16(crc: u32, v: u16) -> u32 { } /// Starting with the initial value in `crc`, return the accumulated -/// CRC32 value for unsigned 32-bit integer `v`. +/// CRC32-C value for unsigned 32-bit integer `v`. /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u32) #[inline] diff --git a/library/stdarch/crates/core_arch/src/x86_64/sse42.rs b/library/stdarch/crates/core_arch/src/x86_64/sse42.rs index 405073261ce7..6b5d087c1730 100644 --- a/library/stdarch/crates/core_arch/src/x86_64/sse42.rs +++ b/library/stdarch/crates/core_arch/src/x86_64/sse42.rs @@ -10,7 +10,7 @@ extern "C" { } /// Starting with the initial value in `crc`, return the accumulated -/// CRC32 value for unsigned 64-bit integer `v`. +/// CRC32-C value for unsigned 64-bit integer `v`. /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_crc32_u64) #[inline]