Registry / utility / x86intrin

x86intrin

JSON →
library0.4.5rscratesunverified

x86intrin implementation.

# Cargo.toml [dependencies] x86intrin = "0.4.5"
INSTALL
IMPORT
SIG · X86INTRIN
X
x86intrin
utilityrustv0.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

_mm_add_epi32
use x86intrin::_mm_add_epi32;

Adds two 128-bit vectors of 32-bit integers using SSE2 intrinsics.

use x86intrin::_mm_add_epi32; fn main() { let a = _mm_set1_epi32(1); let b = _mm_set1_epi32(2); let c = unsafe { _mm_add_epi32(a, b) }; println!("Result: {:?}", c); }
Debug
Known issues
gotchaRequires x86-64 target with SSE2 support.
fix
Compile with target-cpu=native or enable appropriate target features.
affects: >=0.0.0
Upgrade
Version history
0.4.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
x86intrin — cargo add x86intrin · libregistry