From a9cdd6ed01e57f2872d0fe35fe5f29bb25beed89 Mon Sep 17 00:00:00 2001 From: Troy Hinckley Date: Mon, 10 Jun 2024 12:34:16 -0500 Subject: [PATCH] Fix typo --- src/byte_chunk.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/byte_chunk.rs b/src/byte_chunk.rs index 4e61e18..3ff4e96 100644 --- a/src/byte_chunk.rs +++ b/src/byte_chunk.rs @@ -215,8 +215,8 @@ impl ByteChunk for x86_64::__m128i { fn shift_across(&self, n: Self) -> Self { unsafe { let bottom_byte = x86_64::_mm_srli_si128(*self, 15); - let rest_shfited = x86_64::_mm_slli_si128(n, 1); - x86_64::_mm_or_si128(bottom_byte, rest_shfited) + let rest_shifted = x86_64::_mm_slli_si128(n, 1); + x86_64::_mm_or_si128(bottom_byte, rest_shifted) } }