Skip to content

Commit

Permalink
Fix build x86
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Nov 17, 2024
1 parent 1fffefb commit 5d5f861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gxhash/platform/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pub unsafe fn compress_8(mut ptr: *const State, whole_vector_count: usize, hash_
lane2 = _mm_add_epi8(lane2, len_vec);

// Merge lanes
aes_encrypt(lane1, lane2)
(aes_encrypt(lane1, lane2), ptr, whole_vector_count % 8)
}

#[cfg(feature = "hybrid")]
Expand Down Expand Up @@ -149,7 +149,7 @@ pub unsafe fn compress_8(ptr: *const State, end_address: usize, hash_vector: Sta
lane1 = _mm_add_epi8(lane1, len_vec);
lane2 = _mm_add_epi8(lane2, len_vec);
// Merge lanes
aes_encrypt(lane1, lane2)
(aes_encrypt(lane1, lane2), ptr, whole_vector_count % 8)
}

#[inline(always)]
Expand Down

0 comments on commit 5d5f861

Please sign in to comment.