Skip to content

Commit 1c5b2a6

Browse files
satiscugcatAmanieu
authored andcommitted
Fixing mistake in previous commit
1 parent 58db094 commit 1c5b2a6

File tree

1 file changed

+1
-1
lines changed
  • library/stdarch/crates/core_arch/src/x86

1 file changed

+1
-1
lines changed

library/stdarch/crates/core_arch/src/x86/avx2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ pub fn _mm256_alignr_epi8<const IMM8: i32>(a: __m256i, b: __m256i) -> __m256i {
191191
return transmute(a);
192192
}
193193

194-
let r: i8x32 = match IMM8 {
194+
let r: i8x32 = match IMM8 % 16 {
195195
0 => simd_shuffle!(
196196
b,
197197
a,

0 commit comments

Comments
 (0)