[][src]Crate wide

A crate to help you go wide.

This crate provides SIMD-compatible data types.

When possible, explicit SIMD is used with all the math operations here. As a fallback, the fact the fact that all the lengths of a fixed length array are doing the same thing will often make LLVM notice that it should use SIMD instructions to complete the task. In the worst case, the code just becomes totally scalar (though the math is still correct, at least).

Crate Features

  • std: This causes the feature to link to std.
    • Currently this just improves the performance of sqrt when an explicit SIMD sqrt isn't available.

Structs

f32x4
f32x8
f64x2
f64x4
i8x16
i8x32
i16x8
i32x4
i32x8
i64x2
i64x4
u8x16
u16x8
u32x4
u32x8
u64x2
u64x4

Traits

CmpEq
CmpGe
CmpGt
CmpLe
CmpLt
CmpNe