Mjolnir Core
Core functionality of the Mjolnir API

◆ mm_permute2f128()

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

Shuffle 128-bits lanes selected by t_mask from a and b, and return the results in a new 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]aFirst register
[in]bSecond register
Returns
Register with permuted 128 bit lanes values