Skip to content

Commit d5fab97

Browse files
RalfJungAmanieu
authored andcommitted
simplify simd_ty, simd_m_ty macros: do not repeat the element type N times
1 parent f60d57d commit d5fab97

File tree

5 files changed

+111
-534
lines changed

5 files changed

+111
-534
lines changed

crates/core_arch/src/aarch64/neon/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3736,7 +3736,7 @@ mod tests {
37363736
let b = i8x16::new(
37373737
17, 18, 19, 20, 20, 21, 22, 23, 24, 25, 26, 27, 29, 29, 30, 31,
37383738
);
3739-
let r = i8x16(1, 5, 9, 13, 17, 21, 25, 29, 35, 39, 41, 45, 49, 53, 58, 61);
3739+
let r = i8x16::new(1, 5, 9, 13, 17, 21, 25, 29, 35, 39, 41, 45, 49, 53, 58, 61);
37403740
let e: i8x16 = transmute(vpaddq_u8(transmute(a), transmute(b)));
37413741
assert_eq!(r, e);
37423742
}

0 commit comments

Comments
 (0)