Skip to content

Commit 38c2f10

Browse files
committed
Add missing _128xN bitwise casts. Closes #49 .
1 parent 18e66c4 commit 38c2f10

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

src/api/cast/v16.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ impl_from_cast_mask!(
1515
m8x2: i8x2, u8x2, i16x2, u16x2, m16x2, i32x2, u32x2, f32x2, m32x2,
1616
i64x2, u64x2, f64x2, m64x2, i128x2, u128x2, m128x2
1717
);
18-

src/api/cast/v256.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,16 @@ impl_from_cast_mask!(
5353
m64x4: i8x4, u8x4, m8x4, i16x4, u16x4, m16x4, i32x4, u32x4, f32x4, m32x4,
5454
i64x4, u64x4, f64x4, i128x4, u128x4, m128x4
5555
);
56+
57+
impl_from_cast!(
58+
i128x2: i8x2, u8x2, m8x2, i16x2, u16x2, m16x2, i32x2, u32x2, f32x2, m32x2,
59+
i64x2, u64x2, f64x2, m64x2, u128x2, m128x2
60+
);
61+
impl_from_cast!(
62+
u128x2: i8x2, u8x2, m8x2, i16x2, u16x2, m16x2, i32x2, u32x2, f32x2, m32x2,
63+
i64x2, u64x2, f64x2, m64x2, i128x2, m128x2
64+
);
65+
impl_from_cast_mask!(
66+
m128x2: i8x2, u8x2, m8x2, i16x2, u16x2, m16x2, i32x2, u32x2, f32x2, m32x2,
67+
i64x2, u64x2, m64x2, f64x2, i128x2, u128x2
68+
);

src/api/cast/v32.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ impl_from_cast_mask!(
2828
m16x2: i8x2, u8x2, m8x2, i16x2, u16x2, i32x2, u32x2, f32x2, m32x2,
2929
i64x2, u64x2, f64x2, m64x2, i128x2, u128x2, m128x2
3030
);
31-

src/api/cast/v512.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,16 @@ impl_from_cast_mask!(
4040
m64x8: i8x8, u8x8, m8x8, i16x8, u16x8, m16x8, i32x8, u32x8, f32x8, m32x8,
4141
i64x8, u64x8, f64x8
4242
);
43+
44+
impl_from_cast!(
45+
i128x4: i8x4, u8x4, m8x4, i16x4, u16x4, m16x4, i32x4, u32x4, f32x4, m32x4,
46+
i64x4, u64x4, f64x4, m64x4, u128x4, m128x4
47+
);
48+
impl_from_cast!(
49+
u128x4: i8x4, u8x4, m8x4, i16x4, u16x4, m16x4, i32x4, u32x4, f32x4, m32x4,
50+
i64x4, u64x4, f64x4, m64x4, i128x4, m128x4
51+
);
52+
impl_from_cast_mask!(
53+
m128x4: i8x4, u8x4, m8x4, i16x4, u16x4, m16x4, i32x4, u32x4, f32x4, m32x4,
54+
i64x4, u64x4, m64x4, f64x4, i128x4, u128x4
55+
);

0 commit comments

Comments
 (0)