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.

VIA Nano 2000<br />

REP CMPSB/W/D/Q 2.4n+24<br />

Other<br />

NOP (90) 1 All 1 Blocks all ports<br />

Long NOP (0F 1F) 1 I12 1/2<br />

PAUSE 25<br />

ENTER a,0 23<br />

ENTER a,b 52+5b<br />

LEAVE 4 4<br />

CPUID 53-173<br />

RDTSC 39<br />

RDPMC 40 40<br />

Floating point x87 instructions<br />

Operands μops Port and Latency Reciprocal Remarks<br />

Unit<br />

thruogh-<br />

Move instructions<br />

put<br />

FLD r 1 MB 1 1<br />

FLD m32/m64 2 LD MB 4 1<br />

FLD m80 2 LD MB 4 1<br />

FBLD m80 54 54<br />

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

FST(P) m32/m64 3 MB SA ST 5 1-2<br />

FSTP m80 3 MB SA ST 5 1-2<br />

FBSTP m80 125 125<br />

FXCH r 1 I2 0 1<br />

FILD m16 7<br />

FILD m32 5<br />

FILD m64 5<br />

FIST(T)(P) m16 6<br />

FIST(T)(P) m32 5<br />

FIST(T)(P) m64 5<br />

FLDZ FLD1 1 MB 1<br />

FLDPI FLDL2E etc. 10<br />

FCMOVcc r 2 2<br />

FNSTSW AX 5<br />

FNSTSW m16 3<br />

FLDCW m16 13 13<br />

FNSTCW m16 2<br />

FINCSTP FDECSTP 1 I2 0 1<br />

FFREE(P) 1 MB 1<br />

FNSAVE m 321 321<br />

FRSTOR m 195 195<br />

Arithmetic instructions<br />

FADD(P) FSUB(R)(P) r/m 1 MB 2 1<br />

FMUL(P) r/m 1 MA 4 2<br />

FDIV(R)(P) r/m MA 15-42 15-42<br />

Page 168<br />

Lower precision: Lat:<br />

4, Thr: 2

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

Saved successfully!

Ooh no, something went wrong!