Mjolnir Core
Core functionality of the Mjolnir API

◆ mm_permute()

auto mm_permute ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Shuffle the elements in src using the control mask t_mask and return the resulting vector register.

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]srcSource register
Returns
Register with shuffled values