Ban non-array SIMD · qinheping/verify-rust-std@d9d3751 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit d9d3751
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -336,10 +336,10 @@ reverse!(reverse_u32, u32, |x | x as u32); | |
336 | 336 | reverse!(reverse_u64, u64, |x |
337 | 337 | reverse!(reverse_u128, u128, |x |
338 | 338 | #[repr(simd)] |
339 | -struct F64x4(f64, f64, f64, f64); | |
339 | +struct F64x4([f64; 4]); | |
340 | 340 | reverse!(reverse_simd_f64x4, F64x4, |x |
341 | 341 | let x = x as f64; |
342 | -F64x4(x, x, x, x) | |
342 | +F64x4([x, x, x, x]) | |
343 | 343 | }); |
344 | 344 | |
345 | 345 | macro_rules! rotate { |