core::arch::x86_64

Function _mm_insert_si64

1.27.0 ยท source
pub unsafe fn _mm_insert_si64(x: __m128i, y: __m128i) -> __m128i
Available on (x86 or x86-64) and target feature sse4a and x86-64 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.