22007E/0 — November 1999

AMD Athlon™ Processor x86 Code Optimization

Table 19. Integer Instructions (Continued)

Instruction Mnemonic

First

Second

ModR/M

Decode

Byte

Byte

Byte

Type

 

 

 

 

 

 

CMP EAX, imm16/32

3Dh

 

 

DirectPath

 

 

 

 

 

CMP mreg8, imm8

80h

 

11-111-xxx

DirectPath

 

 

 

 

 

CMP mem8, imm8

80h

 

mm-111-xxx

DirectPath

 

 

 

 

 

CMP mreg16/32, imm16/32

81h

 

11-111-xxx

DirectPath

 

 

 

 

 

CMP mem16/32, imm16/32

81h

 

mm-111-xxx

DirectPath

 

 

 

 

 

CMP mreg16/32, imm8 (sign extended)

83h

 

11-111-xxx

DirectPath

 

 

 

 

 

CMP mem16/32, imm8 (sign extended)

83h

 

mm-111-xxx

DirectPath

 

 

 

 

 

CMPSB mem8,mem8

A6h

 

 

VectorPath

 

 

 

 

 

CMPSW mem16, mem32

A7h

 

 

VectorPath

 

 

 

 

 

CMPSD mem32, mem32

A7h

 

 

VectorPath

 

 

 

 

 

CMPXCHG mreg8, reg8

0Fh

B0h

11-xxx-xxx

VectorPath

 

 

 

 

 

CMPXCHG mem8, reg8

0Fh

B0h

mm-xxx-xxx

VectorPath

 

 

 

 

 

CMPXCHG mreg16/32, reg16/32

0Fh

B1h

11-xxx-xxx

VectorPath

 

 

 

 

 

CMPXCHG mem16/32, reg16/32

0Fh

B1h

mm-xxx-xxx

VectorPath

 

 

 

 

 

CMPXCHG8B mem64

0Fh

C7h

mm-xxx-xxx

VectorPath

 

 

 

 

 

CPUID

0Fh

A2h

 

VectorPath

 

 

 

 

 

CWD/CDQ

99h

 

 

DirectPath

 

 

 

 

 

DAA

27h

 

 

VectorPath

 

 

 

 

 

DAS

2Fh

 

 

VectorPath

 

 

 

 

 

DEC EAX

48h

 

 

DirectPath

 

 

 

 

 

DEC ECX

49h

 

 

DirectPath

 

 

 

 

 

DEC EDX

4Ah

 

 

DirectPath

 

 

 

 

 

DEC EBX

4Bh

 

 

DirectPath

 

 

 

 

 

DEC ESP

4Ch

 

 

DirectPath

 

 

 

 

 

DEC EBP

4Dh

 

 

DirectPath

 

 

 

 

 

DEC ESI

4Eh

 

 

DirectPath

 

 

 

 

 

DEC EDI

4Fh

 

 

DirectPath

 

 

 

 

 

DEC mreg8

FEh

 

11-001-xxx

DirectPath

 

 

 

 

 

DEC mem8

FEh

 

mm-001-xxx

DirectPath

 

 

 

 

 

DEC mreg16/32

FFh

 

11-001-xxx

DirectPath

 

 

 

 

 

DEC mem16/32

FFh

 

mm-001-xxx

DirectPath

 

 

 

 

 

DIV AL, mreg8

F6h

 

11-110-xxx

VectorPath

 

 

 

 

 

DIV AL, mem8

F6h

 

mm-110-xxx

VectorPath

 

 

 

 

 

Instruction Dispatch and Execution Resources

193

Page 209
Image 209
AMD x86 manual Cpuid, Cwd/Cdq, Daa, Das, Dec Eax, Dec Ecx, Dec Edx, Dec Ebx, Dec Esp, Dec Ebp, Dec Esi, Dec Edi