Re-bless src/test/ui/simd
This commit is contained in:
parent
22dc82915a
commit
2a7b5117ea
11 changed files with 84 additions and 84 deletions
|
|
@ -1,5 +1,5 @@
|
|||
error: unconstrained generic constant
|
||||
--> $DIR/simd-array-trait.rs:23:23
|
||||
--> $DIR/array-trait.rs:23:23
|
||||
|
|
||||
LL | pub struct T<S: Simd>([S::Lane; S::SIZE]);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,89 +1,89 @@
|
|||
error[E0511]: invalid monomorphization of `simd_add` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:69:9
|
||||
--> $DIR/generic-arithmetic-2.rs:69:9
|
||||
|
|
||||
LL | simd_add(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_sub` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:71:9
|
||||
--> $DIR/generic-arithmetic-2.rs:71:9
|
||||
|
|
||||
LL | simd_sub(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_mul` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:73:9
|
||||
--> $DIR/generic-arithmetic-2.rs:73:9
|
||||
|
|
||||
LL | simd_mul(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_div` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:75:9
|
||||
--> $DIR/generic-arithmetic-2.rs:75:9
|
||||
|
|
||||
LL | simd_div(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shl` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:77:9
|
||||
--> $DIR/generic-arithmetic-2.rs:77:9
|
||||
|
|
||||
LL | simd_shl(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shr` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:79:9
|
||||
--> $DIR/generic-arithmetic-2.rs:79:9
|
||||
|
|
||||
LL | simd_shr(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_and` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:81:9
|
||||
--> $DIR/generic-arithmetic-2.rs:81:9
|
||||
|
|
||||
LL | simd_and(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_or` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:83:9
|
||||
--> $DIR/generic-arithmetic-2.rs:83:9
|
||||
|
|
||||
LL | simd_or(0, 0);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_xor` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:85:9
|
||||
--> $DIR/generic-arithmetic-2.rs:85:9
|
||||
|
|
||||
LL | simd_xor(0, 0);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_neg` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:88:9
|
||||
--> $DIR/generic-arithmetic-2.rs:88:9
|
||||
|
|
||||
LL | simd_neg(0);
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shl` intrinsic: unsupported operation on `f32x4` with element `f32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:92:9
|
||||
--> $DIR/generic-arithmetic-2.rs:92:9
|
||||
|
|
||||
LL | simd_shl(z, z);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shr` intrinsic: unsupported operation on `f32x4` with element `f32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:94:9
|
||||
--> $DIR/generic-arithmetic-2.rs:94:9
|
||||
|
|
||||
LL | simd_shr(z, z);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_and` intrinsic: unsupported operation on `f32x4` with element `f32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:96:9
|
||||
--> $DIR/generic-arithmetic-2.rs:96:9
|
||||
|
|
||||
LL | simd_and(z, z);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_or` intrinsic: unsupported operation on `f32x4` with element `f32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:98:9
|
||||
--> $DIR/generic-arithmetic-2.rs:98:9
|
||||
|
|
||||
LL | simd_or(z, z);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_xor` intrinsic: unsupported operation on `f32x4` with element `f32`
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic.rs:100:9
|
||||
--> $DIR/generic-arithmetic-2.rs:100:9
|
||||
|
|
||||
LL | simd_xor(z, z);
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
error[E0511]: invalid monomorphization of `simd_saturating_add` intrinsic: expected element type `f32` of vector type `f32x4` to be a signed or unsigned integer type
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic-saturating.rs:33:9
|
||||
--> $DIR/generic-arithmetic-saturating-2.rs:33:9
|
||||
|
|
||||
LL | simd_saturating_add(z, z);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_saturating_sub` intrinsic: expected element type `f32` of vector type `f32x4` to be a signed or unsigned integer type
|
||||
--> $DIR/simd-intrinsic-generic-arithmetic-saturating.rs:35:9
|
||||
--> $DIR/generic-arithmetic-saturating-2.rs:35:9
|
||||
|
|
||||
LL | simd_saturating_sub(z, z);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
error[E0511]: invalid monomorphization of `simd_bitmask` intrinsic: bitmask `u16`, expected `u8`
|
||||
--> $DIR/simd-intrinsic-generic-bitmask.rs:53:22
|
||||
--> $DIR/generic-bitmask.rs:53:22
|
||||
|
|
||||
LL | let _: u16 = simd_bitmask(m2);
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_bitmask` intrinsic: bitmask `u16`, expected `u8`
|
||||
--> $DIR/simd-intrinsic-generic-bitmask.rs:56:22
|
||||
--> $DIR/generic-bitmask.rs:56:22
|
||||
|
|
||||
LL | let _: u16 = simd_bitmask(m8);
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_bitmask` intrinsic: bitmask `u32`, expected `u16`
|
||||
--> $DIR/simd-intrinsic-generic-bitmask.rs:59:22
|
||||
--> $DIR/generic-bitmask.rs:59:22
|
||||
|
|
||||
LL | let _: u32 = simd_bitmask(m16);
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_bitmask` intrinsic: bitmask `u64`, expected `u32`
|
||||
--> $DIR/simd-intrinsic-generic-bitmask.rs:62:22
|
||||
--> $DIR/generic-bitmask.rs:62:22
|
||||
|
|
||||
LL | let _: u64 = simd_bitmask(m32);
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_bitmask` intrinsic: bitmask `u128`, expected `u64`
|
||||
--> $DIR/simd-intrinsic-generic-bitmask.rs:65:23
|
||||
--> $DIR/generic-bitmask.rs:65:23
|
||||
|
|
||||
LL | let _: u128 = simd_bitmask(m64);
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
error[E0511]: invalid monomorphization of `simd_cast` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-cast.rs:34:9
|
||||
--> $DIR/generic-cast.rs:34:9
|
||||
|
|
||||
LL | simd_cast::<i32, i32>(0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_cast` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-cast.rs:36:9
|
||||
--> $DIR/generic-cast.rs:36:9
|
||||
|
|
||||
LL | simd_cast::<i32, i32x4>(0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_cast` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-cast.rs:38:9
|
||||
--> $DIR/generic-cast.rs:38:9
|
||||
|
|
||||
LL | simd_cast::<i32x4, i32>(x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_cast` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i32x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-cast.rs:40:9
|
||||
--> $DIR/generic-cast.rs:40:9
|
||||
|
|
||||
LL | simd_cast::<_, i32x8>(x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,107 +1,107 @@
|
|||
error[E0511]: invalid monomorphization of `simd_eq` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:28:9
|
||||
--> $DIR/generic-comparison.rs:28:9
|
||||
|
|
||||
LL | simd_eq::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ne` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:30:9
|
||||
--> $DIR/generic-comparison.rs:30:9
|
||||
|
|
||||
LL | simd_ne::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_lt` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:32:9
|
||||
--> $DIR/generic-comparison.rs:32:9
|
||||
|
|
||||
LL | simd_lt::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_le` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:34:9
|
||||
--> $DIR/generic-comparison.rs:34:9
|
||||
|
|
||||
LL | simd_le::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_gt` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:36:9
|
||||
--> $DIR/generic-comparison.rs:36:9
|
||||
|
|
||||
LL | simd_gt::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ge` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:38:9
|
||||
--> $DIR/generic-comparison.rs:38:9
|
||||
|
|
||||
LL | simd_ge::<i32, i32>(0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_eq` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:41:9
|
||||
--> $DIR/generic-comparison.rs:41:9
|
||||
|
|
||||
LL | simd_eq::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ne` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:43:9
|
||||
--> $DIR/generic-comparison.rs:43:9
|
||||
|
|
||||
LL | simd_ne::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_lt` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:45:9
|
||||
--> $DIR/generic-comparison.rs:45:9
|
||||
|
|
||||
LL | simd_lt::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_le` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:47:9
|
||||
--> $DIR/generic-comparison.rs:47:9
|
||||
|
|
||||
LL | simd_le::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_gt` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:49:9
|
||||
--> $DIR/generic-comparison.rs:49:9
|
||||
|
|
||||
LL | simd_gt::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ge` intrinsic: expected SIMD return type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:51:9
|
||||
--> $DIR/generic-comparison.rs:51:9
|
||||
|
|
||||
LL | simd_ge::<_, i32>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_eq` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:54:9
|
||||
--> $DIR/generic-comparison.rs:54:9
|
||||
|
|
||||
LL | simd_eq::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ne` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:56:9
|
||||
--> $DIR/generic-comparison.rs:56:9
|
||||
|
|
||||
LL | simd_ne::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_lt` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:58:9
|
||||
--> $DIR/generic-comparison.rs:58:9
|
||||
|
|
||||
LL | simd_lt::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_le` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:60:9
|
||||
--> $DIR/generic-comparison.rs:60:9
|
||||
|
|
||||
LL | simd_le::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_gt` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:62:9
|
||||
--> $DIR/generic-comparison.rs:62:9
|
||||
|
|
||||
LL | simd_gt::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_ge` intrinsic: expected return type with length 4 (same as input type `i32x4`), found `i16x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-comparison.rs:64:9
|
||||
--> $DIR/generic-comparison.rs:64:9
|
||||
|
|
||||
LL | simd_ge::<_, i16x8>(x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,71 +1,71 @@
|
|||
error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:46:9
|
||||
--> $DIR/generic-elements.rs:46:9
|
||||
|
|
||||
LL | simd_insert(0, 0, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_insert` intrinsic: expected inserted type `i32` (element of input `i32x4`), found `f64`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:48:9
|
||||
--> $DIR/generic-elements.rs:48:9
|
||||
|
|
||||
LL | simd_insert(x, 0, 1.0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_extract` intrinsic: expected return type `i32` (element of input `i32x4`), found `f32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:50:9
|
||||
--> $DIR/generic-elements.rs:50:9
|
||||
|
|
||||
LL | simd_extract::<_, f32>(x, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:54:9
|
||||
--> $DIR/generic-elements.rs:54:9
|
||||
|
|
||||
LL | simd_shuffle2::<i32, i32>(0, 0, IDX2);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:57:9
|
||||
--> $DIR/generic-elements.rs:57:9
|
||||
|
|
||||
LL | simd_shuffle4::<i32, i32>(0, 0, IDX4);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected SIMD input type, found non-SIMD `i32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:60:9
|
||||
--> $DIR/generic-elements.rs:60:9
|
||||
|
|
||||
LL | simd_shuffle8::<i32, i32>(0, 0, IDX8);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x2` with element type `f32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:63:9
|
||||
--> $DIR/generic-elements.rs:63:9
|
||||
|
|
||||
LL | simd_shuffle2::<_, f32x2>(x, x, IDX2);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x4` with element type `f32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:65:9
|
||||
--> $DIR/generic-elements.rs:65:9
|
||||
|
|
||||
LL | simd_shuffle4::<_, f32x4>(x, x, IDX4);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return element type `i32` (element of input `i32x4`), found `f32x8` with element type `f32`
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:67:9
|
||||
--> $DIR/generic-elements.rs:67:9
|
||||
|
|
||||
LL | simd_shuffle8::<_, f32x8>(x, x, IDX8);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle2` intrinsic: expected return type of length 2, found `i32x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:70:9
|
||||
--> $DIR/generic-elements.rs:70:9
|
||||
|
|
||||
LL | simd_shuffle2::<_, i32x8>(x, x, IDX2);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle4` intrinsic: expected return type of length 4, found `i32x8` with length 8
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:72:9
|
||||
--> $DIR/generic-elements.rs:72:9
|
||||
|
|
||||
LL | simd_shuffle4::<_, i32x8>(x, x, IDX4);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle8` intrinsic: expected return type of length 8, found `i32x2` with length 2
|
||||
--> $DIR/simd-intrinsic-generic-elements.rs:74:9
|
||||
--> $DIR/generic-elements.rs:74:9
|
||||
|
|
||||
LL | simd_shuffle8::<_, i32x2>(x, x, IDX8);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,59 +1,59 @@
|
|||
error[E0511]: invalid monomorphization of `simd_reduce_add_ordered` intrinsic: expected return type `f32` (element of input `f32x4`), found `i32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:34:9
|
||||
--> $DIR/generic-reduction.rs:34:9
|
||||
|
|
||||
LL | simd_reduce_add_ordered(z, 0);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_mul_ordered` intrinsic: expected return type `f32` (element of input `f32x4`), found `i32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:36:9
|
||||
--> $DIR/generic-reduction.rs:36:9
|
||||
|
|
||||
LL | simd_reduce_mul_ordered(z, 1);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_and` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:39:22
|
||||
--> $DIR/generic-reduction.rs:39:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_and(x);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_or` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:41:22
|
||||
--> $DIR/generic-reduction.rs:41:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_or(x);
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_xor` intrinsic: expected return type `u32` (element of input `u32x4`), found `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:43:22
|
||||
--> $DIR/generic-reduction.rs:43:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_xor(x);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_and` intrinsic: unsupported simd_reduce_and from `f32x4` with element `f32` to `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:46:22
|
||||
--> $DIR/generic-reduction.rs:46:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_and(z);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_or` intrinsic: unsupported simd_reduce_or from `f32x4` with element `f32` to `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:48:22
|
||||
--> $DIR/generic-reduction.rs:48:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_or(z);
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_xor` intrinsic: unsupported simd_reduce_xor from `f32x4` with element `f32` to `f32`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:50:22
|
||||
--> $DIR/generic-reduction.rs:50:22
|
||||
|
|
||||
LL | let _: f32 = simd_reduce_xor(z);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_all` intrinsic: unsupported simd_reduce_all from `f32x4` with element `f32` to `bool`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:53:23
|
||||
--> $DIR/generic-reduction.rs:53:23
|
||||
|
|
||||
LL | let _: bool = simd_reduce_all(z);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_reduce_any` intrinsic: unsupported simd_reduce_any from `f32x4` with element `f32` to `bool`
|
||||
--> $DIR/simd-intrinsic-generic-reduction.rs:55:23
|
||||
--> $DIR/generic-reduction.rs:55:23
|
||||
|
|
||||
LL | let _: bool = simd_reduce_any(z);
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
error[E0511]: invalid monomorphization of `simd_select` intrinsic: mismatched lengths: mask length `8` != other vector length `4`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:40:9
|
||||
--> $DIR/generic-select.rs:40:9
|
||||
|
|
||||
LL | simd_select(m8, x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select` intrinsic: mask element type is `u32`, expected `i_`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:43:9
|
||||
--> $DIR/generic-select.rs:43:9
|
||||
|
|
||||
LL | simd_select(x, x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select` intrinsic: mask element type is `f32`, expected `i_`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:46:9
|
||||
--> $DIR/generic-select.rs:46:9
|
||||
|
|
||||
LL | simd_select(z, z, z);
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select` intrinsic: expected SIMD argument type, found non-SIMD `u32`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:49:9
|
||||
--> $DIR/generic-select.rs:49:9
|
||||
|
|
||||
LL | simd_select(m4, 0u32, 1u32);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select_bitmask` intrinsic: mismatched lengths: mask length `16` != other vector length `4`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:52:9
|
||||
--> $DIR/generic-select.rs:52:9
|
||||
|
|
||||
LL | simd_select_bitmask(0u16, x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select_bitmask` intrinsic: expected SIMD argument type, found non-SIMD `u32`
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:55:9
|
||||
--> $DIR/generic-select.rs:55:9
|
||||
|
|
||||
LL | simd_select_bitmask(0u8, 1u32, 2u32);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select_bitmask` intrinsic: `f32` is not an integral type
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:58:9
|
||||
--> $DIR/generic-select.rs:58:9
|
||||
|
|
||||
LL | simd_select_bitmask(0.0f32, x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_select_bitmask` intrinsic: `&str` is not an integral type
|
||||
--> $DIR/simd-intrinsic-generic-select.rs:61:9
|
||||
--> $DIR/generic-select.rs:61:9
|
||||
|
|
||||
LL | simd_select_bitmask("x", x, x);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return type of length 2, found `Simd<u32, 4_usize>` with length 4
|
||||
--> $DIR/simd-intrinsic-generic-shuffle.rs:24:31
|
||||
--> $DIR/generic-shuffle.rs:24:31
|
||||
|
|
||||
LL | let _: Simd<u32, 4> = simd_shuffle(v, v, I);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: expected return element type `u32` (element of input `Simd<u32, 4_usize>`), found `Simd<f32, 2_usize>` with element type `f32`
|
||||
--> $DIR/simd-intrinsic-generic-shuffle.rs:27:31
|
||||
--> $DIR/generic-shuffle.rs:27:31
|
||||
|
|
||||
LL | let _: Simd<f32, 2> = simd_shuffle(v, v, I);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be an array of `u32`, got `[f32; 2]`
|
||||
--> $DIR/simd-intrinsic-generic-shuffle.rs:30:31
|
||||
--> $DIR/generic-shuffle.rs:30:31
|
||||
|
|
||||
LL | let _: Simd<u32, 2> = simd_shuffle(v, v, I2);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
error[E0075]: SIMD vector cannot be empty
|
||||
--> $DIR/simd-type.rs:6:1
|
||||
--> $DIR/type-len.rs:6:1
|
||||
|
|
||||
LL | struct empty;
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error[E0075]: SIMD vector cannot be empty
|
||||
--> $DIR/simd-type.rs:9:1
|
||||
--> $DIR/type-len.rs:9:1
|
||||
|
|
||||
LL | struct empty2([f32; 0]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0076]: SIMD vector should be homogeneous
|
||||
--> $DIR/simd-type.rs:15:1
|
||||
--> $DIR/type-len.rs:15:1
|
||||
|
|
||||
LL | struct i64f64(i64, f64);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ SIMD elements must have the same type
|
||||
|
||||
error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
|
||||
--> $DIR/simd-type.rs:20:1
|
||||
--> $DIR/type-len.rs:20:1
|
||||
|
|
||||
LL | struct FooV(Foo, Foo);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type
|
||||
--> $DIR/simd-type.rs:23:1
|
||||
--> $DIR/type-len.rs:23:1
|
||||
|
|
||||
LL | struct FooV2([Foo; 2]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0075]: SIMD vector cannot have more than 32768 elements
|
||||
--> $DIR/simd-type.rs:26:1
|
||||
--> $DIR/type-len.rs:26:1
|
||||
|
|
||||
LL | struct TooBig([f32; 65536]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue