Skip to content

Commit 95de48b

Browse files
committed
Auto merge of rust-lang#129403 - scottmcm:only-array-simd, r=compiler-errors
Ban non-array SIMD Nearing the end of rust-lang/compiler-team#621 ! Currently blocked on ~~rust-lang/compiler-builtins#673 ~~rust-lang/compiler-builtins#674 ~~rust-lang#129400 ~~rust-lang#129481 for windows.
2 parents 22c4e8e + d9d3751 commit 95de48b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alloc/benches/slice.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@ reverse!(reverse_u32, u32, |x| x as u32);
336336
reverse!(reverse_u64, u64, |x| x as u64);
337337
reverse!(reverse_u128, u128, |x| x as u128);
338338
#[repr(simd)]
339-
struct F64x4(f64, f64, f64, f64);
339+
struct F64x4([f64; 4]);
340340
reverse!(reverse_simd_f64x4, F64x4, |x| {
341341
let x = x as f64;
342-
F64x4(x, x, x, x)
342+
F64x4([x, x, x, x])
343343
});
344344

345345
macro_rules! rotate {

0 commit comments

Comments
 (0)