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.

Pentium M<br />

PMULUDQ xmm,xmm 2 2 4 2<br />

PMULUDQ xmm,m128 4 2 2 4 2<br />

PMADDWD mm,mm 1 1 3 1<br />

PMADDWD mm,m64 1 1 1 3 1<br />

PMADDWD xmm,xmm 2 2 3 2<br />

PMADDWD xmm,m128 4 2 2 3 2<br />

PAVGB/W mm,mm 1 1 1 0.5<br />

PAVGB/W mm,m64 1 1 1 1<br />

PAVGB/W xmm,xmm 2 2 1 1<br />

PAVGB/W xmm,m128 4 2 2 2<br />

PMIN/MAXUB/SW mm,mm 1 1 1 0.5<br />

PMIN/MAXUB/SW mm,m64 1 1 1 1<br />

PMIN/MAXUB/SW xmm,xmm 2 2 1 1<br />

PMIN/MAXUB/SW xmm,m128 4 2 2 2<br />

PSADBW mm,mm 2 2 4 1<br />

PSADBW mm,m64 2 2 1 4 1<br />

PSADBW xmm,xmm 4 4 4 2<br />

PSADBW xmm,m128 6 4 2 4 2<br />

Logic instructions<br />

PAND(N) POR PXOR mm,mm 1 1 1 0.5<br />

PAND(N) POR PXOR mm,m64 1 1 1 1<br />

PAND(N) POR PXOR xmm,xmm 2 2 1 1<br />

PAND(N) POR PXOR xmm,m128 4 2 2 2<br />

PSLL/RL/RAW/D/Q mm,mm/i 1 1 1 1<br />

PSLL/RL/RAW/D/Q mm,m64 1 1 1 1<br />

PSLL/RL/RAW/D/Q xmm,i 2 2 2 2<br />

PSLL/RL/RAW/D/Q xmm,xmm 3 2 1 2 2<br />

PSLL/RL/RAW/D/Q xmm,m128 3 1 2 2<br />

PSLL/RLDQ xmm,i 4 3 1 3 3<br />

Other<br />

EMMS<br />

Notes:<br />

11 11 6 k) 6<br />

g) SSE3 instruction only available on Core Solo and Core Duo.<br />

j) Also uses some execution units under port 1.<br />

k)<br />

You may hide the delay by inserting other instructions between EMMS and<br />

any subsequent floating point instruction.<br />

Floating point XMM instructions<br />

<strong>Instruction</strong> Operands μops μops unfused domain Latency<br />

fused<br />

domain p0 p1 p01 p2 p3 p4<br />

Move instructions<br />

MOVAPS/D xmm,xmm 2 2 1 1<br />

MOVAPS/D xmm,m128 2 2 2 2<br />

MOVAPS/D m128,xmm 2 2 2 3 2<br />

MOVUPS/D xmm,m128 4 4 2 2<br />

Page 78<br />

Reciprocal<br />

through<br />

put

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

Saved successfully!

Ooh no, something went wrong!