4 releases

Uses old Rust 2015

0.1.2 Oct 25, 2018
0.1.1 Oct 25, 2018
0.1.0 Aug 15, 2018
0.0.4 Jan 14, 2018

#391 in Hardware support

Download history 6/week @ 2024-07-20 17/week @ 2024-07-27 6/week @ 2024-08-03 4/week @ 2024-08-17 5/week @ 2024-08-24 3/week @ 2024-08-31 6/week @ 2024-09-07 1/week @ 2024-09-14 18/week @ 2024-09-21 8/week @ 2024-09-28 7/week @ 2024-10-05 20/week @ 2024-10-12 4/week @ 2024-10-19 26/week @ 2024-11-02

51 downloads per month
Used in 5 crates (via stdsimd)

MIT/Apache

1.5MB
30K SLoC

stdsimd - Rust's standard library SIMD components

Travis-CI Status Appveyor Status Latest Version docs

Usage

stdsimd is now shipped with Rust's std library - its is part of libcore and libstd.

The easiest way to use it is just to import it via use std::arch.

The std::arch component for x86 is available in stable Rust. The std::arch components for other architectures and the std::simd component require nightly Rust.

Using stdsimd master branch is not recommended. It requires nightly Rust, it only works with particular Rust nightly versions, and it can (and does) break often. If you need to use stdsimd master branch, you can add it to your Cargo.toml as follows:

#[dependencies]
stdsimd = { git = "https://github.com/rust-lang-nursery/stdsimd.git" }

Documentation

Approach

The main goal is to expose APIs defined by vendors with the least amount of abstraction possible. On x86, for example, the API should correspond to that provided by emmintrin.h.

License

stdsimd is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

No runtime deps