1 unstable release
Uses new Rust 2024
new 0.1.1 | Apr 4, 2025 |
---|
#30 in #intrinsics
Used in 3 crates
(via aloe-simd)
90KB
1.5K
SLoC
Aloe SIMD Native
Aloe SIMD Native provides a suite of highly-optimized SIMD (Single Instruction, Multiple Data) operations for various data types and architectures. Utilizing Rust's low-level capabilities, this crate targets performance-critical tasks, making it ideal for data-intensive applications such as digital signal processing (DSP) and scientific computations.
Key Features
- Wide Architecture Support: Provides intrinsic operations for SSE and platform-specified SIMD capabilities, supporting a range of data types from 8-bit integers to 64-bit floats.
- Precision and Performance: Direct utilization of SIMD registers provides unrivaled speed and precision in vectorized mathematical operations.
- Comprehensive DSP Functions: Includes essential arithmetic, bitwise, and comparison operations tailored for DSP workflows, enhancing the performance of signal processing tasks.
Supported Data Types
SimdNativeU8
,SimdNativeU16
,SimdNativeU32
,SimdNativeU64
SimdNativeI8
,SimdNativeI16
,SimdNativeI32
,SimdNativeI64
SimdNativeF32
,SimdNativeF64
Example Usage
use aloe_simd_native::SimdNativeU64;
fn main() {
let a = SimdNativeU64::expand(5);
let b = SimdNativeU64::expand(10);
let result = SimdNativeU64::add(a, b);
SimdNativeU64::store(result, &mut [0; 2]);
}
License
This project is licensed under the GPL-3.0 License.
Repository
This README was generated by an AI model and may not be 100% accurate. However, it should provide a solid understanding of the crate's functionality.
This crate is a translation of the JUCE module.
JUCE is a c++ software framework for developing high performance audio applications.
Usage falls under the GPLv3 as well as the JUCE commercial license.
See github.com/juce-framework/JUCE and the JUCE license page for details.
This crate is in the process of being translated from c++ to rust. For progress updates, please see the workspacer rust project. designed specifically for rust projects.
Dependencies
~13–27MB
~374K SLoC