_mm_insert_si64 in core::arch::x86_64 - Rust
Description: Inserts the `[length:0]` bits of `y` into `x` at `index`.

## _mm_insert_si64

# Function _mm_insert_si64

1.27.0 · Source

    pub fn _mm_insert_si64(x: __m128i, y: __m128i) -> __m128i

Available on x86-64 and target feature `sse4a` only.
Expand description

Inserts the `[length:0]` bits of `y` into `x` at `index`.

The bits of `y`:

- `[69:64]` specify the `length`,
- `[77:72]` specify the index.

If the `length` is zero it is interpreted as `64`. If `index + length > 64` or `index > 0 && length == 0` the result is undefined.