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.

Prescott<br />

REP MOVSD 1 ≈1.1n ≈ 1.4 n 86<br />

REP MOVSQ 1 ≈1.1n ≈ 1.4 n x64<br />

BSWAP r 1 0 1 0 1 alu 486<br />

IN, OUT r,r/i 1 52 >1000 86<br />

PREFETCHNTA m 1 0 1 sse<br />

PREFETCHT0/1/2 m 1 0 1 sse<br />

SFENCE 1 2 50 sse<br />

LFENCE 1 2 50 sse2<br />

MFENCE 1 4 124 sse2<br />

Arithmetic instructions<br />

ADD, SUB r,r 1 0 1 0 0.25 0/1 alu0/1 86 c<br />

ADD, SUB r,m 2 0 1 0 1 86 c<br />

ADD, SUB m,r 3 0 5 2 86 c<br />

ADC, SBB r,r/i 3 0 10 0 10 1 int,alu 86<br />

ADC, SBB r,m 2 5 10 0 10 1 int,alu 86<br />

ADC, SBB m,r 2 6 20 10 86<br />

ADC, SBB m,i 3 5 22 10 86<br />

CMP r,r 1 0 1 0 0.25 0/1 alu0/1 86 c<br />

CMP r,m 2 0 1 0 1 86 c<br />

INC, DEC r 2 0 1 0 0.5 0/1 alu0/1 86<br />

INC, DEC m 4 0 5 3 86<br />

NEG r 1 0 1 0 0.5 0 alu0 86<br />

NEG m 3 0 5 3 86<br />

AAA, AAS 1 10 26 86 m<br />

DAA, DAS 1 16 29 86 m<br />

AAD 2 5 13 1 int mul 86 m<br />

AAM 2 17 71 1 int fpdiv 86 m<br />

MUL, IMUL r8 1 0 10 0 1 int mul 86<br />

MUL, IMUL r16 4 0 11 0 1 int mul 86<br />

MUL, IMUL r32 3 0 11 0 1 int mul 86<br />

MUL, IMUL r64 1 5 11 0 1 int mul x64<br />

MUL, IMUL m8 2 0 10 0 1 int mul 86<br />

MUL, IMUL m16 2 5 11 0 1 int mul 86<br />

MUL, IMUL m32 3 0 11 0 1 int mul 86<br />

MUL, IMUL m64 2 6 11 0 1 int mul x64<br />

IMUL r16,r16 1 0 10 0 2.5 1 int mul 386<br />

IMUL r16,r16,i 2 0 11 0 2.5 1 int mul 186<br />

IMUL r32,r32 1 0 10 0 2.5 1 int mul 386<br />

IMUL r32,(r32),i 1 0 10 0 2.5 1 int mul 386<br />

IMUL r64,r64 1 0 10 0 2.5 1 int mul x64<br />

IMUL r64,(r64),i 1 0 10 0 2.5 1 int mul x64<br />

IMUL r16,m16 2 0 10 0 2.5 1 int mul 386<br />

IMUL r32,m32 2 0 10 0 2.5 1 int mul 386<br />

IMUL r64,m64 2 0 10 0 2.5 1 int mul x64<br />

IMUL r,m,i 3 0 10 0 1-2.5 1 int mul 186<br />

DIV r8/m8 1 20 74 0 34 1 int fpdiv 86 a<br />

DIV r16/m16 1 19 73 0 34 1 int fpdiv 86 a<br />

DIV r32/m32 1 21 76 0 34 1 int fpdiv 386 a<br />

DIV r64/m64 1 31 63 0 52 1 int fpdiv x64 a<br />

Page 146

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

Saved successfully!

Ooh no, something went wrong!