]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected SIMD input type, found non-SIMD `i32` |
6a06907d | 2 | --> $DIR/simd-intrinsic-generic-elements.rs:46:9 |
b7449926 XL |
3 | | |
4 | LL | simd_insert(0, 0, 0); | |
5 | | ^^^^^^^^^^^^^^^^^^^^ | |
6 | ||
7 | error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected inserted type `i32` (element of input `i32x4`), found `f64` | |
6a06907d | 8 | --> $DIR/simd-intrinsic-generic-elements.rs:48:9 |
b7449926 XL |
9 | | |
10 | LL | simd_insert(x, 0, 1.0); | |
11 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
13 | error[E0511]: invalid monomorphization of `simd_extract` intrinsic: expected return type `i32` (element of input `i32x4`), found `f32` | |
6a06907d | 14 | --> $DIR/simd-intrinsic-generic-elements.rs:50:9 |
b7449926 XL |
15 | | |
16 | LL | simd_extract::<_, f32>(x, 0); | |
17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
18 | ||
19 | error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected SIMD input type, found non-SIMD `i32` | |
6a06907d | 20 | --> $DIR/simd-intrinsic-generic-elements.rs:53:9 |
b7449926 XL |
21 | | |
22 | LL | simd_shuffle2::<i32, i32>(0, 0, [0; 2]); | |
23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
24 | ||
b7449926 | 25 | error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected SIMD input type, found non-SIMD `i32` |
6a06907d | 26 | --> $DIR/simd-intrinsic-generic-elements.rs:55:9 |
b7449926 XL |
27 | | |
28 | LL | simd_shuffle4::<i32, i32>(0, 0, [0; 4]); | |
29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
30 | ||
31 | error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected SIMD input type, found non-SIMD `i32` | |
6a06907d | 32 | --> $DIR/simd-intrinsic-generic-elements.rs:57:9 |
b7449926 XL |
33 | | |
34 | LL | simd_shuffle8::<i32, i32>(0, 0, [0; 8]); | |
35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
36 | ||
37 | error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x2` with element type `f32` | |
6a06907d | 38 | --> $DIR/simd-intrinsic-generic-elements.rs:60:9 |
b7449926 XL |
39 | | |
40 | LL | simd_shuffle2::<_, f32x2>(x, x, [0; 2]); | |
41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
42 | ||
b7449926 | 43 | error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x4` with element type `f32` |
6a06907d | 44 | --> $DIR/simd-intrinsic-generic-elements.rs:62:9 |
b7449926 XL |
45 | | |
46 | LL | simd_shuffle4::<_, f32x4>(x, x, [0; 4]); | |
47 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
48 | ||
49 | error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x8` with element type `f32` | |
6a06907d | 50 | --> $DIR/simd-intrinsic-generic-elements.rs:64:9 |
b7449926 XL |
51 | | |
52 | LL | simd_shuffle8::<_, f32x8>(x, x, [0; 8]); | |
53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
54 | ||
55 | error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return type of length 2, found `i32x8` with length 8 | |
6a06907d | 56 | --> $DIR/simd-intrinsic-generic-elements.rs:67:9 |
b7449926 XL |
57 | | |
58 | LL | simd_shuffle2::<_, i32x8>(x, x, [0; 2]); | |
59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
60 | ||
6a06907d XL |
61 | error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return type of length 4, found `i32x8` with length 8 |
62 | --> $DIR/simd-intrinsic-generic-elements.rs:69:9 | |
b7449926 | 63 | | |
6a06907d | 64 | LL | simd_shuffle4::<_, i32x8>(x, x, [0; 4]); |
b7449926 XL |
65 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
66 | ||
67 | error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return type of length 8, found `i32x2` with length 2 | |
6a06907d | 68 | --> $DIR/simd-intrinsic-generic-elements.rs:71:9 |
b7449926 XL |
69 | | |
70 | LL | simd_shuffle8::<_, i32x2>(x, x, [0; 8]); | |
71 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
72 | ||
6a06907d | 73 | error: aborting due to 12 previous errors |
b7449926 | 74 | |
60c5eb7d | 75 | For more information about this error, try `rustc --explain E0511`. |