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.

Sandy Bridge<br />

CALL m 3 2 1 2 1 2<br />

RET 2 2 1 1 2<br />

RET i 3 2 1 1 2<br />

BOUND r,m 15 13 7 not 64 bit<br />

INTO 4 4 6 not 64 bit<br />

String instructions<br />

LODS 3 2 1 1<br />

REP LODS 5n+12 ~2n<br />

STOS 3 1 1 1 1<br />

REP STOS 2n n<br />

worst<br />

case<br />

REP STOS 1.5/16B 1/16B best case<br />

MOVS 5 4<br />

REP MOVS 2n 1.5 n<br />

REP MOVS 3/16B 1/16B best case<br />

SCAS 3 1<br />

REP SCAS 6n+47 2n+45<br />

CMPS 5 4<br />

REP CMPS 8n+80 2n+80<br />

Other<br />

NOP (90) 1 0 0.25<br />

Long NOP (0F 1F) 1 0 0.25<br />

PAUSE 7 7 11<br />

ENTER a,0 12 10 2 1 8<br />

ENTER a,b 49+6b 84+3b<br />

LEAVE 3 3 1 7<br />

CPUID 31-75 100-250<br />

RDTSC 21 28<br />

RDPMC 35 42<br />

Move instructions<br />

FLD r 1 1 1 1 1<br />

FLD m32/64 1 1 1 3 1<br />

FLD m80 4 2 1 1 2 4 2<br />

FBLD m80 43 40 3 45 21<br />

FST(P) r 1 1 1 1 1<br />

FST(P) m32/m64 1 1 1 4 1<br />

FSTP m80 7 3 2 2 5 5<br />

Page 123<br />

worst<br />

case<br />

decode<br />

only 1 per<br />

clk<br />

Floating point x87 instructions<br />

<strong>Instruction</strong> Operands μops μops unfused domain Latency ReciCom- fused p015 p0 p1 p5 p23 p4<br />

doprocalthroughmentsmainput

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

Saved successfully!

Ooh no, something went wrong!