Skip to content

Commit

Permalink
Clarify concatenation order
Browse files Browse the repository at this point in the history
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
  • Loading branch information
calebzulawski and workingjubilee authored Apr 17, 2021
1 parent 977f26f commit 1999c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core_simd/src/permute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ macro_rules! impl_shuffle_lane {

/// Deinterleave two vectors.
///
/// The first result contains the even lanes of `self` and `other` concatenated.
/// The first result contains the even lanes of `self` and then `other`, concatenated.
///
/// The second result contains the odd lanes of `self` and `other` concatenated.
/// The second result contains the odd lanes of `self` and then `other`, concatenated.
#[inline]
pub fn deinterleave(self, other: Self) -> (Self, Self) {
const fn even() -> [u32; $n] {
Expand Down

0 comments on commit 1999c54

Please sign in to comment.