I am working on SSE and a newbie here. I am trying to use shuffle instruction to shuffle a 16 bit vector like below:
Input:
1 2 3 4 5 6 7 8
Output:
1 5 2 6 3 7 4 8
How do I achieve the desired target? I am confused about the constant being used here and I don't see any 16 bit shuffle instruction. shuffle instruction is only available for 8 bit and 32 bit.