File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ type GroupWord = u32;
2121pub type BitMaskWord = GroupWord;
2222pub const BITMASK_STRIDE: usize = 8;
2323// We only care about the highest bit of each byte for the mask.
24- #[allow(
25- clippy::cast_possible_truncation,
26- clippy::unnecessary_cast,
27- )]
24+ #[allow(clippy::cast_possible_truncation, clippy::unnecessary_cast)]
2825pub const BITMASK_MASK: BitMaskWord = 0x8080_8080_8080_8080_u64 as GroupWord;
2926
3027/// Helper function to replicate a byte across a `GroupWord`.
Original file line number Diff line number Diff line change @@ -135,7 +135,10 @@ impl Group {
135135 unsafe {
136136 let zero = x86::_mm_setzero_si128();
137137 let special = x86::_mm_cmpgt_epi8(zero, self.0);
138- Group(x86::_mm_or_si128(special, x86::_mm_set1_epi8(0x80_u8 as i8)))
138+ Group(x86::_mm_or_si128(
139+ special,
140+ x86::_mm_set1_epi8(0x80_u8 as i8),
141+ ))
139142 }
140143 }
141144}
You can’t perform that action at this time.
0 commit comments