Mjolnir Core
Core functionality of the Mjolnir API

◆ mm_shuffle()

auto mm_shuffle ( T_RegisterType  a,
T_RegisterType  b 
) -> T_RegisterType
inlinenoexcept

Return a register with the first half of the lane elements selected from a and the second half from b.

Template Parameters
t_maskAn integer value used as control mask. Consult the intel intrinsics guide for further information. Note that this library provides template functions in permute.h to apply the correct mask for each use-case.
T_RegisterTypeThe register type
Parameters
[in]aFirst register
[in]bSecond register
Returns
New register with shuffled values