SSE

This is a quick reference for Intel's Streaming SIMD Extensions.

move add subtractadd with saturationsubtract with saturationadd-subtractmultiplydivideabsolute valueminimummaximum
char-16 MOVQ 2 PADDB 2 PSUBB 2 PADDSB 2 PSUBSB 2
uchar-16MOVQ 2 PADDB 2 PSUBB 2 PADDUSB 2 PSUBUSB 2 PMINUB 2 PMAXUB 2
short-8 MOVQ 2 PADDW 2 PSUBW 2 PADDSW 2 PSUBSW 2 PMULLW 2 PMINSW 2 PMAXSW 2
ushort-8MOVQ 2 PADDW 2 PSUBW 2 PADDUSW 2 PSUBUSW 2 PMULLW 2
int-4 MOVQ 2 PADDD 2 PSUBD 2 PMULLD 2
uint-4 MOVQ 2 PADDD 2 PSUBD 2 PMULLD 2
float-4 MOVPS 1 ADDPS 1 SUBPS 1 N/A ADDSUBPS 3 MULPS 1 DIVPS 1 MINPS 1 MAXPS 1
double-2MOVPD 2 ADDPD 2 SUBPD 2 N/A N/A ADDSUBPD 3 MULPD 2 DIVPD 2 MINPD 2 MAXPD 2

This revision created on Wed, 23 Sep 2009 00:04:22 by slava