I need to broadcast one arbitrary element of __m128 vector. For example the second element:
__m128 a = {a0, a1, a2, a3};
__m128 b = {a1, a1, a1, a1};
I know that there are intrinsics _mm_set1_ps(float) and _mm_broadcast_ss(float*). But these intrinsics can load value from common use registers of memory. Is exist any way to set scalar value from another vector register?