Mjolnir Core
Core functionality of the Mjolnir API

◆ broadcast_across_lanes()

auto broadcast_across_lanes ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Broadcast a register element selected by t_index across lane boundaries.

For single-lane registers, the function behaves identical to broadcast.

Template Parameters
t_indexIndex of the element that should be broadcasted
T_RegisterTypeThe register type
Parameters
[in]srcThe source register
Returns
New register with broadcasted values
Todo:
: check if using permute_across lanes is faster in the last branch