Function safe_arch::shr_imm_u64_m128i [−][src]
Expand description
Shifts both u64
lanes right by an immediate.
let a = m128i::from([1_u64, 200]);
let c: [u64; 2] = shr_imm_u64_m128i::<3>(a).into();
assert_eq!(c, [1_u64 >> 3, 200 >> 3]);
- Intrinsic:
_mm_srli_epi64
- Assembly:
psrlq xmm, imm8