From 03ba7410847a54ab106ca0629ab4d70ce68dadae Mon Sep 17 00:00:00 2001 From: Jonathan Goodman Date: Mon, 20 Nov 2017 16:55:48 -0600 Subject: [PATCH] Fix comments for _mm_cvtepu8_epi{32, 64} (#200) --- src/x86/i586/sse41.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x86/i586/sse41.rs b/src/x86/i586/sse41.rs index 5718fe63f28a4..a87fc35708cc8 100644 --- a/src/x86/i586/sse41.rs +++ b/src/x86/i586/sse41.rs @@ -333,7 +333,7 @@ pub unsafe fn _mm_cvtepu8_epi16(a: u8x16) -> i16x8 { simd_shuffle8::<_, ::v64::u8x8>(a, a, [0, 1, 2, 3, 4, 5, 6, 7]).as_i16x8() } -/// Zero extend packed unsigned 8-bit integers in `a` to packed 16-bit integers +/// Zero extend packed unsigned 8-bit integers in `a` to packed 32-bit integers #[inline(always)] #[target_feature = "+sse4.1"] #[cfg_attr(test, assert_instr(pmovzxbd))] @@ -341,7 +341,7 @@ pub unsafe fn _mm_cvtepu8_epi32(a: u8x16) -> i32x4 { simd_shuffle4::<_, ::v32::u8x4>(a, a, [0, 1, 2, 3]).as_i32x4() } -/// Zero extend packed unsigned 8-bit integers in `a` to packed 16-bit integers +/// Zero extend packed unsigned 8-bit integers in `a` to packed 64-bit integers #[inline(always)] #[target_feature = "+sse4.1"] #[cfg_attr(test, assert_instr(pmovzxbq))]