Mjolnir Core
Core functionality of the Mjolnir API

◆ permute_lanes()

auto permute_lanes ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Create a new AVX register by an arbitrary combination of the source registers lanes.

Template Parameters
t_lane_0Set to 0 to copy the lower lane of the source register to the lower lane of the result register. Use 1to copy the upper lane
t_lane_1Set to 0 to copy the lower lane of the source register to the upper lane of the result register. Use 1 to copy the upper lane
T_RegisterTypeThe register type
Parameters
[in]srcSource register
Returns
New register with an arbitrary combination of the source registers lanes