%sub-vector ( dst src1 src2 rep -- )


Vocabulary
cpu.architecture

Definition
USING: system ;

IN: cpu.architecture

HOOK: %sub-vector cpu ( dst src1 src2 rep -- )


Methods
USING: combinators cpu.architecture cpu.x86 cpu.x86.assembler
kernel system ;

M: x86 %sub-vector
[ two-operand ] keep {
{ float-4-rep [ SUBPS ] }
{ double-2-rep [ SUBPD ] }
{ char-16-rep [ PSUBB ] }
{ uchar-16-rep [ PSUBB ] }
{ short-8-rep [ PSUBW ] }
{ ushort-8-rep [ PSUBW ] }
{ int-4-rep [ PSUBD ] }
{ uint-4-rep [ PSUBD ] }
{ longlong-2-rep [ PSUBQ ] }
{ ulonglong-2-rep [ PSUBQ ] }
} case ;