Skip to main content

Module sse4_2

Module sse4_2 

Source

Structs§

Sse4_2
The SIMD token for the x86-64-v2 level.

Functions§

cross_block_alignr_128x2 🔒
Concatenates b and a (each N blocks) and extracts N blocks starting at byte offset shift_bytes. Extracts from [b : a] (b in low bytes, a in high bytes), matching alignr semantics.
cross_block_alignr_128x4 🔒
Concatenates b and a (each N blocks) and extracts N blocks starting at byte offset shift_bytes. Extracts from [b : a] (b in low bytes, a in high bytes), matching alignr semantics.
dyn_alignr_128 🔒
This is a version of the alignr intrinsic that takes a non-const shift argument. The shift is still expected to be constant in practice, so the match statement will be optimized out. This exists because Rust doesn’t currently let you do math on const generics.