03.03.2013 Views

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Merom<br />

Move instructions<br />

MOV r,r/i 1 1 x x x int 1 0.33<br />

MOV a) r,m 1 1 int 2 1<br />

MOV a) m,r 1 1 1 int 3 1<br />

MOV m,i 1 1 1 int 3 1<br />

MOV r,sr 1 1 int 1<br />

MOV m,sr 2 1 1 1 int 1<br />

MOV sr,r 8 4 x x x 4 int 16<br />

MOV sr,m 8 3 x x 5 int 16<br />

MOVNTI<br />

MOVSX MOVZX<br />

m,r 2 1 1 int 2<br />

MOVSXD<br />

r,r 1 1 x x x int 1 0.33<br />

MOVSX MOVZX r,m 1 1 int 1<br />

CMOVcc r,r 2 2 x x x int 2 1<br />

CMOVcc r,m 2 2 x x x 1 int<br />

XCHG r,r 3 3 x x x int 2 2<br />

XCHG r,m 7 1 1 1 int high b)<br />

XLAT 2 1 1 int 4 1<br />

PUSH r 1 1 1 int 3 1<br />

PUSH i 1 1 1 int 1<br />

PUSH m 2 1 1 1 int 1<br />

PUSH sr 2 1 1 1 int 1<br />

PUSHF(D/Q) 17 15 x x x 1 1 int 7<br />

PUSHA(D) i) 18 9 1 8 int 8<br />

POP r 1 1 int 2 1<br />

POP (E/R)SP 4 3 1 int<br />

POP m 2 1 1 1 int 1.5<br />

POP sr 10 9 1 int 17<br />

POPF(D/Q) 24 23 x x x 1 int 20<br />

POPA(D) i) 10 2 8 int 7<br />

LAHF SAHF 1 1 x x x int 1 0.33<br />

SALC i) 2 2 x x x int 4 1<br />

LEA a) r,m 1 1 1 int 1 1<br />

BSWAP r 2 2 1 1 int 4 1<br />

LDS LES LFS LGS LSS m 11 11 1 int 17<br />

PREFETCHNTA m 1 1 int 1<br />

PREFETCHT0/1/2 m 1 1 int 1<br />

LFENCE 2 1 1 int 8<br />

MFENCE 2 1 1 int 9<br />

SFENCE 2 1 1 int 9<br />

CLFLUSH m8 4 2 x x x 1 1 int 240 117<br />

IN int<br />

OUT int<br />

Arithmetic instructions<br />

ADD SUB r,r/i 1 1 x x x int 1 0.33<br />

ADD SUB r,m 1 1 x x x 1 int 1<br />

ADD SUB m,r/i 2 1 x x x 1 1 1 int 6 1<br />

ADC SBB r,r/i 2 2 x x x int 2 2<br />

ADC SBB r,m 2 2 x x x 1 int 2 2<br />

Page 83

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

Saved successfully!

Ooh no, something went wrong!