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.

PABSB PABSW PABSD<br />

PSIGNB PSIGNW<br />

PSIGND<br />

Nano 3000<br />

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

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

Logic instructions<br />

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

PTEST xmm,xmm 1 MB 3 1<br />

PSLL/RL/RAW/D/Q (x)mm,(x)mm 1 MB 1 1<br />

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

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

Other<br />

EMMS 1 MB 1<br />

Floating point XMM instructions<br />

Operands μops Port Latency Reciprocal<br />

thruogh-<br />

Remarks<br />

Move instructions<br />

put<br />

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

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

MOVAPS/D m128,xmm 1 SA ST 2 1<br />

MOVUPS/D xmm,m128 1 LD 2 1<br />

MOVUPS/D m128,xmm 2 SA ST 2 1<br />

MOVSS/D xmm,xmm 1 MB 1 1<br />

MOVSS/D xmm,m32/64 1 LD 2-3 1<br />

MOVSS/D m32/64,xmm 2 SA ST 2-3 1-2<br />

MOVHPS/D xmm,m64 2 6 1<br />

MOVLPS/D xmm,m64 2 6 1<br />

MOVHPS/D m64,xmm 3 6 1-2<br />

MOVLPS/D m64,xmm 1 2 1-2<br />

MOVLHPS MOVHLPS xmm,xmm 1 1 1<br />

MOVMSKPS/D r32,xmm 3 1<br />

MOVNTPS/D m128,xmm 2 ~360 1-2<br />

SHUFPS xmm,xmm,i 1 MB 1 1<br />

SHUFPD xmm,xmm,i 1 MB 1 1<br />

MOVDDUP xmm,xmm 1 MB 1 1<br />

MOVSH/LDUP xmm,xmm 1 MB 1 1<br />

UNPCKH/LPS xmm,xmm 1 MB 1 1<br />

UNPCKH/LPD xmm,xmm 1 MB 1 1<br />

Conversion<br />

CVTPD2PS xmm,xmm 2 5 2<br />

CVTSD2SS xmm,xmm 1 2<br />

CVTPS2PD xmm,xmm 2 5 1<br />

CVTSS2SD xmm,xmm 1 2<br />

CVTDQ2PS xmm,xmm 1 MB 3 1<br />

CVT(T) PS2DQ xmm,xmm 1 2 1<br />

CVTDQ2PD xmm,xmm 2 5 1<br />

Page 181

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

Saved successfully!

Ooh no, something went wrong!