Mjolnir Core
Core functionality of the Mjolnir API

◆ swap_lanes_if()

auto swap_lanes_if ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Return a new register with or without swapped lanes depending on the value of the boolean template parameter.

Template Parameters
t_swap_lanesDecides if the lanes should be swapped or not
T_RegisterTypeThe register type
Parameters
[in]srcSource register
Returns
Register with or without swapped lanes