]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-2197.rs
Tidy up and pass tests
[rust.git] / tests / target / issue-2197.rs
1 // rustfmt-max_width: 79
2 // rustfmt-wrap_comments: true
3 // rustfmt-error_on_line_overflow: false
4
5 /// ```rust
6 /// unsafe fn sum_sse2(x: i32x4) -> i32 {
7 ///     let x = vendor::_mm_add_epi32(
8 ///         x,
9 ///         vendor::_mm_srli_si128(x.into(), 8).into(),
10 ///     );
11 ///     let x = vendor::_mm_add_epi32(
12 ///         x,
13 ///         vendor::_mm_srli_si128(x.into(), 4).into(),
14 ///     );
15 ///     vendor::_mm_cvtsi128_si32(x)
16 /// }
17 /// ```
18 fn foo() {}