%gather-vector-4 ( dst src1 src2 src3 src4 rep -- )


Vocabulary
cpu.architecture

Inputs and outputs
dstan object
src1an object
src2an object
src3an object
src4an object
repan object


Definition


HOOK: %gather-vector-4 cpu ( dst src1 src2 src3 src4 rep -- )


Methods

M:: x86 %gather-vector-4 ( dst src1 src2 src3 src4 rep -- )
rep signed-rep {
{
float-4-rep
[
dst src1 float-4-rep %copy dst src2 UNPCKLPS
src3 src4 UNPCKLPS dst src3 MOVLHPS
]
}
{
int-4-rep
[
dst src1 int-4-rep %copy dst src2 PUNPCKLDQ
src3 src4 PUNPCKLDQ dst src3 PUNPCKLQDQ
]
}
} case ;