Skip to content

Commit b17efd8

Browse files
Daniel Smithbjorn3
andauthored
Add AVX 512f gather, scatter and compare intrinsics (#866)
Co-authored-by: bjorn3 <[email protected]>
1 parent 6a20add commit b17efd8

File tree

8 files changed

+2512
-6
lines changed

8 files changed

+2512
-6
lines changed

crates/core_arch/src/simd.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,26 @@ simd_ty!(i32x16[i32]:
198198
| x0, x1, x2, x3, x4, x5, x6, x7,
199199
x8, x9, x10, x11, x12, x13, x14, x15);
200200

201+
simd_ty!(u32x16[u32]:
202+
u32, u32, u32, u32, u32, u32, u32, u32,
203+
u32, u32, u32, u32, u32, u32, u32, u32
204+
| x0, x1, x2, x3, x4, x5, x6, x7,
205+
x8, x9, x10, x11, x12, x13, x14, x15);
206+
207+
simd_ty!(f32x16[f32]:
208+
f32, f32, f32, f32, f32, f32, f32, f32,
209+
f32, f32, f32, f32, f32, f32, f32, f32
210+
| x0, x1, x2, x3, x4, x5, x6, x7,
211+
x8, x9, x10, x11, x12, x13, x14, x15);
212+
201213
simd_ty!(i64x8[i64]:
202214
i64, i64, i64, i64, i64, i64, i64, i64
203215
| x0, x1, x2, x3, x4, x5, x6, x7);
204216

205217
simd_ty!(u64x8[u64]:
206218
u64, u64, u64, u64, u64, u64, u64, u64
207219
| x0, x1, x2, x3, x4, x5, x6, x7);
220+
221+
simd_ty!(f64x8[f64]:
222+
f64, f64, f64, f64, f64, f64, f64, f64
223+
| x0, x1, x2, x3, x4, x5, x6, x7);

0 commit comments

Comments
 (0)