]> git.lizzy.rs Git - rust.git/blob - src/test/ui/simd-intrinsic/simd-intrinsic-generic-reduction.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / simd-intrinsic / simd-intrinsic-generic-reduction.stderr
1 error[E0511]: invalid monomorphization of `simd_reduce_add_ordered` intrinsic: accumulator of simd_reduce_add_ordered is not 0.0
2   --> $DIR/simd-intrinsic-generic-reduction.rs:46:9
3    |
4 LL |         simd_reduce_add_ordered(z, 2_f32);
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0511]: invalid monomorphization of `simd_reduce_mul_ordered` intrinsic: accumulator of simd_reduce_mul_ordered is not 1.0
8   --> $DIR/simd-intrinsic-generic-reduction.rs:48:9
9    |
10 LL |         simd_reduce_mul_ordered(z, 3_f32);
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0511]: invalid monomorphization of `simd_reduce_and` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
14   --> $DIR/simd-intrinsic-generic-reduction.rs:51:22
15    |
16 LL |         let _: f32 = simd_reduce_and(x);
17    |                      ^^^^^^^^^^^^^^^^^^
18
19 error[E0511]: invalid monomorphization of `simd_reduce_or` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
20   --> $DIR/simd-intrinsic-generic-reduction.rs:53:22
21    |
22 LL |         let _: f32 = simd_reduce_or(x);
23    |                      ^^^^^^^^^^^^^^^^^
24
25 error[E0511]: invalid monomorphization of `simd_reduce_xor` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
26   --> $DIR/simd-intrinsic-generic-reduction.rs:55:22
27    |
28 LL |         let _: f32 = simd_reduce_xor(x);
29    |                      ^^^^^^^^^^^^^^^^^^
30
31 error[E0511]: invalid monomorphization of `simd_reduce_and` intrinsic: unsupported simd_reduce_and from `f32x4` with element `f32` to `f32`
32   --> $DIR/simd-intrinsic-generic-reduction.rs:58:22
33    |
34 LL |         let _: f32 = simd_reduce_and(z);
35    |                      ^^^^^^^^^^^^^^^^^^
36
37 error[E0511]: invalid monomorphization of `simd_reduce_or` intrinsic: unsupported simd_reduce_or from `f32x4` with element `f32` to `f32`
38   --> $DIR/simd-intrinsic-generic-reduction.rs:60:22
39    |
40 LL |         let _: f32 = simd_reduce_or(z);
41    |                      ^^^^^^^^^^^^^^^^^
42
43 error[E0511]: invalid monomorphization of `simd_reduce_xor` intrinsic: unsupported simd_reduce_xor from `f32x4` with element `f32` to `f32`
44   --> $DIR/simd-intrinsic-generic-reduction.rs:62:22
45    |
46 LL |         let _: f32 = simd_reduce_xor(z);
47    |                      ^^^^^^^^^^^^^^^^^^
48
49 error[E0511]: invalid monomorphization of `simd_reduce_all` intrinsic: unsupported simd_reduce_all from `f32x4` with element `f32` to `bool`
50   --> $DIR/simd-intrinsic-generic-reduction.rs:65:23
51    |
52 LL |         let _: bool = simd_reduce_all(z);
53    |                       ^^^^^^^^^^^^^^^^^^
54
55 error[E0511]: invalid monomorphization of `simd_reduce_any` intrinsic: unsupported simd_reduce_any from `f32x4` with element `f32` to `bool`
56   --> $DIR/simd-intrinsic-generic-reduction.rs:67:23
57    |
58 LL |         let _: bool = simd_reduce_any(z);
59    |                       ^^^^^^^^^^^^^^^^^^
60
61 error[E0511]: invalid monomorphization of `simd_reduce_add_ordered` intrinsic: accumulator of simd_reduce_add_ordered is not a constant
62   --> $DIR/simd-intrinsic-generic-reduction.rs:77:5
63    |
64 LL |     simd_reduce_add_ordered(z, x);
65    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
67 error[E0511]: invalid monomorphization of `simd_reduce_mul_ordered` intrinsic: accumulator of simd_reduce_mul_ordered is not a constant
68   --> $DIR/simd-intrinsic-generic-reduction.rs:79:5
69    |
70 LL |     simd_reduce_mul_ordered(z, x);
71    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
73 error: aborting due to 12 previous errors
74
75 For more information about this error, try `rustc --explain E0511`.