https://github.com/okaneco/safe_unaligned_simd
Safe wrappers for unaligned SIMD load/store operations
https://github.com/okaneco/safe_unaligned_simd
rust rust-lang rust-library simd simd-programming
Last synced: 7 months ago
JSON representation
Safe wrappers for unaligned SIMD load/store operations
- Host: GitHub
- URL: https://github.com/okaneco/safe_unaligned_simd
- Owner: okaneco
- License: apache-2.0
- Created: 2025-06-30T03:11:21.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-07-02T23:23:29.000Z (7 months ago)
- Last Synced: 2025-07-03T00:26:17.110Z (7 months ago)
- Topics: rust, rust-lang, rust-library, simd, simd-programming
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `safe_unaligned_simd`
Safe wrappers for unaligned SIMD load and store operations.
The goal of this crate is to remove the need for "unnecessary `unsafe`" code when using vector intrinsics with no alignment requirements.
Platform-intrinsics that take raw pointers have been wrapped in functions that receive Rust reference types as arguments.
**MSRV**: 1.87
## Implemented Intrinsics
### `x86_64`
- `sse`, `sse2`, `avx`
Currently, there is no plan to implement gather/scatter or masked load/store intrinsics for this platform.
### Other platforms
To be determined.
## License
This crate is licensed under either
- the [MIT License](LICENSE-MIT), or
- the [Apache License (Version 2.0)](LICENSE-APACHE)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.