4 Instruction tables - Agner Fog
4 Instruction tables - Agner Fog
4 Instruction tables - Agner Fog
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Bulldozer<br />
String instructions<br />
LODS 3 3<br />
REP LODS 6n 3n<br />
STOS 3 3<br />
REP STOS 2n 2n small n<br />
REP STOS 3 per 16B 3 per 16B best case<br />
MOVS 5 3<br />
REP MOVS 2n 2n small n<br />
REP MOVS 4 per 16B 3 per 16B best case<br />
SCAS 3 3<br />
REP SCAS 7n 4n<br />
CMPS 6 3<br />
REP CMPS 9n 4n<br />
Synchronization<br />
LOCK ADD m,r 1 ~55<br />
XADD m,r 4 10<br />
LOCK XADD m,r 4 ~51<br />
CMPXCHG m8,r8 5 15<br />
LOCK CMPXCHG m8,r8 5 ~51<br />
CMPXCHG m,r16/32/64 6 14<br />
LOCK CMPXCHG m,r16/32/64 6 ~52<br />
CMPXCHG8B m64 18 15<br />
LOCK CMPXCHG8B m64 18 ~53<br />
CMPXCHG16B m64 22 52<br />
LOCK CMPXCHG16B m64 22 ~94<br />
Other<br />
NOP (90) 1 0.25 none<br />
Long NOP (0F 1F) 1 0.25 none<br />
PAUSE 40 43<br />
ENTER a,0 13 22<br />
ENTER a,b 11+5b 16+4b<br />
LEAVE 2 4<br />
CPUID 37-63 112-280<br />
RDTSC 36 42<br />
RDPMC 22 30<br />
CRC32 r32,r8 3 3 2<br />
CRC32 r32,r16 5 5 5<br />
CRC32 r32,r32 5 6 6<br />
XGETBV 4 31<br />
Floating point x87 instructions<br />
<strong>Instruction</strong> Operands Ops Latency Reciprocal Execution Domain, notes<br />
Move instructions<br />
throughput pipes<br />
FLD r 1 2 0.5 P01 fp<br />
FLD m32/64 1 8 1 fp<br />
Page 40