03.03.2013 Views

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Atom<br />

PACKSSWB/DW<br />

PACKUSWB<br />

(x)mm, (x)mm 1 FP0 1 1<br />

PUNPCKH/LBW/WD/DQ (x)mm, (x)mm 1 FP0 1 1<br />

PUNPCKH/LQDQ (x)mm, (x)mm 1 FP0 1 1<br />

PSHUFB mm,mm 1 FP0 1 1<br />

PSHUFB xmm,xmm 4 6 6<br />

PSHUFW mm,mm,i 1 FP0 1 1<br />

PSHUFL/HW xmm,xmm,i 1 FP0 1 1<br />

PSHUFD xmm,xmm,i 1 FP0 1 1<br />

PALIGNR xmm, xmm,i 1 FP0 1 1<br />

MASKMOVQ mm,mm 1 Mem 2<br />

MASKMOVDQU xmm,xmm 2 Mem 7<br />

PMOVMSKB r32,(x)mm 1 4 2<br />

PINSRW (x)mm,r32,i 1 3 1<br />

PEXTRW r32,(x)mm,i 2 5 5<br />

Arithmetic instructions<br />

PADD/SUB(U)(S)B/W/D (x)mm, (x)mm 1 FP0/1 1 1/2<br />

PADDQ PSUBQ (x)mm, (x)mm 2 5 5<br />

PHADD(S)W PHSUB(S)W (x)mm, (x)mm 7 8 8<br />

PHADDD PHSUBD (x)mm, (x)mm 3 6<br />

PCMPEQ/GTB/W/D (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PMULL/HW PMULHUW mm,mm 1 FP0, Mul 4 1<br />

PMULL/HW PMULHUW xmm,xmm 1 FP0, Mul 5 2<br />

PMULHRSW mm,mm 1 FP0, Mul 4 1<br />

PMULHRSW xmm,xmm 1 FP0, Mul 5 2<br />

PMULUDQ mm,mm 1 FP0, Mul 4 1<br />

PMULUDQ xmm,xmm 1 FP0, Mul 5 2<br />

PMADDWD mm,mm 1 FP0, Mul 4 1<br />

PMADDWD xmm,xmm 1 FP0, Mul 5 2<br />

PMADDUBSW mm,mm 1 FP0, Mul 4 1<br />

PMADDUBSW xmm,xmm 1 FP0, Mul 5 2<br />

PSADBW mm,mm 1 FP0, Mul 4 1<br />

PSADBW xmm,xmm 1 FP0, Mul 5 2<br />

PAVGB/W (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PMIN/MAXUB (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PMIN/MAXSW (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PABSB PABSW PABSD (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PSIGNB PSIGNW PSIGND<br />

(x)mm,(x)mm 1 FP0/1 1 1/2<br />

Logic instructions<br />

PAND(N) POR PXOR (x)mm,(x)mm 1 FP0/1 1 1/2<br />

PSLL/RL/RAW/D/Q (x)mm,(x)mm 2 FP0 5 5<br />

PSLL/RL/RAW/D/Q (x)xmm,i 1 FP0 1 1<br />

PSLL/RLDQ xmm,i 1 FP0 1 1<br />

Other<br />

EMMS 9 9<br />

Page 161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!