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.

Nano 3000<br />

Other<br />

NOP (90) 0-1 I12 0 1/2 Sometimes fused<br />

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

PAUSE 2 6<br />

ENTER a,0 10 21<br />

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

LEAVE 3 2 2<br />

CPUID 55-146<br />

RDTSC 37<br />

RDPMC 40<br />

Floating point x87 instructions<br />

Operands μops Port Latency Reciprocal<br />

thruogh-<br />

Remarks<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 36 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 80 125 125<br />

FXCH r 1 I2 0 1<br />

FILD m16 3 7<br />

FILD m32 2 5<br />

FILD m64 2 5<br />

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

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

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

FLDZ FLD1 1 MB 1<br />

FLDPI FLDL2E etc. 3 10<br />

FCMOVcc r 1 MB 2 2<br />

FNSTSW AX 1 1<br />

FNSTSW m16 3 2<br />

FLDCW m16 5 8<br />

FNSTCW m16 3 2<br />

FINCSTP FDECSTP 1 I2 0 1<br />

FFREE(P) 1 MB 1<br />

FNSAVE m 122 319 319<br />

FRSTOR m 115 196 196<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 14-23 14-23<br />

FABS 1 MB 1 1<br />

FCHS 1 MB 1 1<br />

FCOM(P) FUCOM r/m 1 MB 1<br />

Page 178

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

Saved successfully!

Ooh no, something went wrong!