Mjolnir Core
Core functionality of the Mjolnir API

◆ mm_blend()

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

Blend elements from a and b using a control 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]aFirst register
[in]bSecond register
Returns
Register with blended values