Handbook
Glossary
int-4-shuffle ( dst shuffle -- )
Vocabulary
cpu
.
x86
.
sse
Inputs
dst
an
object
shuffle
an
object
Outputs
None
Definition
USING:
combinators
cpu.x86.assembler
kernel
;
IN:
cpu.x86.sse
:
int-4-shuffle
( dst shuffle -- )
{
{
{
0 1 2 3
}
[
drop
]
}
{
{
0 0 1 1
}
[
dup
PUNPCKLDQ
]
}
{
{
2 2 3 3
}
[
dup
PUNPCKHDQ
]
}
{
{
0 1 0 1
}
[
dup
PUNPCKLQDQ
]
}
{
{
2 3 2 3
}
[
dup
PUNPCKHQDQ
]
}
[
dupd
PSHUFD
]
}
case
;