Jump to content
Nytro

Instruction tables Lists of instruction latencies

Recommended Posts

Posted

Instruction tables

Lists of instruction latencies, throughputs and microoperation

breakdowns for Intel, AMD and VIA CPUs

By Agner Fog. Copenhagen University College of Engineering.

Copyright © 1996 - 2011. Last updated 2011-06-08.

Contents
1 Introduction ....................................................................................................................... 3
1.1 Definition of terms....................................................................................................... 4
1.2 Microprocessor versions tested .................................................................................. 5
1.3 How the values were measured.................................................................................. 6
2 List of instruction timings for Intel Pentium and Pentium MMX........................................... 8
2.1 Integer instructions (Pentium and Pentium MMX) ....................................................... 8
2.2 Floating point instructions (Pentium and Pentium MMX) ........................................... 10
2.3 MMX instructions (Pentium MMX)............................................................................. 12
3 List of instruction timings and µop breakdown for Intel Pentium II and Pentium III........... 13
3.1 Integer instructions (Pentium Pro, Pentium II and Pentium III) .................................. 13
3.2 Floating point x87 instructions (Pentium Pro, Pentium II and Pentium III) ................. 16
3.3 Integer MMX instructions (Pentium II and Pentium III) .............................................. 17
3.4 Floating point XMM instructions (Pentium III) ............................................................ 19
4 List of instruction timings and µop breakdown for Intel Pentium M................................... 21
4.1 Integer instructions.................................................................................................... 21
4.2 Floating point x87 instructions................................................................................... 25
4.3 Integer MMX and XMM instructions .......................................................................... 26
4.4 Floating point XMM instructions ................................................................................ 29
5 List of instruction timings and µop breakdown for Intel Core 2 (Merom, 65nm)................ 32
5.1 Integer instructions.................................................................................................... 33
5.2 Floating point x87 instructions................................................................................... 37
5.3 Integer MMX and XMM instructions .......................................................................... 39
5.4 Floating point XMM instructions ................................................................................ 42
6 List of instruction timings and µop breakdown for Intel Core 2 (Wolfdale, 45nm) ............. 45
6.1 Integer instructions.................................................................................................... 46
6.2 Floating point x87 instructions................................................................................... 50
6.3 Integer MMX and XMM instructions .......................................................................... 52
6.4 Floating point XMM instructions ................................................................................ 56
7 List of instruction timings and µop breakdown for Intel Nehalem ..................................... 59
7.1 Integer instructions.................................................................................................... 60
7.2 Floating point x87 instructions................................................................................... 65
7.3 Integer MMX and XMM instructions .......................................................................... 67
7.4 Floating point XMM instructions ................................................................................ 71
8 List of instruction timings and µop breakdown for Intel Sandy Bridge .............................. 74
8.1 Integer instructions.................................................................................................... 75
8.2 Floating point x87 instructions................................................................................... 79
8.3 Integer MMX and XMM instructions .......................................................................... 81
8.4 Floating point XMM instructions ................................................................................ 85
9 List of instruction timings and µop breakdown for Intel Pentium 4.................................... 90
9.1 integer instructions.................................................................................................... 91
9.2 Floating point x87 instructions................................................................................... 95
9.3 Integer MMX and XMM instructions .......................................................................... 96
9.4 Floating point XMM instructions ................................................................................ 98
10 List of instruction timings and µop br. for Intel Pentium 4 w. EM64T (Prescott)............ 100
10.1 Integer instructions................................................................................................ 101
2
10.2 Floating point x87 instructions............................................................................... 105
10.3 Integer MMX and XMM instructions ...................................................................... 107
10.4 Floating point XMM instructions ............................................................................ 109
11 List of instruction timings and µop breakdown for Intel Atom....................................... 111
11.1 Integer instructions................................................................................................ 111
11.2 Floating point x87 instructions............................................................................... 116
11.3 Integer MMX and XMM instructions ...................................................................... 118
11.4 Floating point XMM instructions ............................................................................ 120
12 List of instruction timings and µop breakdown for VIA Nano 2000 series..................... 122
12.1 Integer instructions................................................................................................ 122
12.2 Floating point x87 instructions............................................................................... 126
12.3 Integer MMX and XMM instructions ...................................................................... 128
12.4 Floating point XMM instructions ............................................................................ 130
12.5 VIA-specific instructions........................................................................................ 132
13 List of instruction timings and µop breakdown for VIA Nano 3000 series..................... 133
13.1 Integer instructions................................................................................................ 133
13.2 Floating point x87 instructions............................................................................... 137
13.3 Integer MMX and XMM instructions ...................................................................... 139
13.4 Floating point XMM instructions ............................................................................ 141
13.5 VIA-specific instructions........................................................................................ 143
14 Instruction timings and macro-operation breakdown for AMD K7 ................................ 144
14.1 Integer instructions................................................................................................ 144
14.2 Floating point x87 instructions............................................................................... 148
14.3 Integer MMX instructions ...................................................................................... 150
14.4 Floating point XMM instructions ............................................................................ 151
14.5 3DNow instructions............................................................................................... 152
15 Instruction timings and macro-operation breakdown for AMD K8 ................................ 153
15.1 Integer instructions................................................................................................ 153
15.2 Floating point x87 instructions............................................................................... 157
15.3 Integer MMX and XMM instructions ...................................................................... 159
15.4 Floating point XMM instructions ............................................................................ 161
15.5 3DNow instructions............................................................................................... 162
16 Instruction timings and macro-operation breakdown for AMD K10 .............................. 164
16.1 Integer instructions................................................................................................ 164
16.2 Floating point x87 instructions............................................................................... 168
16.3 Integer MMX and XMM instructions ...................................................................... 170
16.4 Floating point XMM instructions ............................................................................ 172
16.5 3DNow instructions............................................................................................... 173
17 Instruction timings and macro-operation breakdown for AMD Bobcat.......................... 175
17.1 Integer instructions................................................................................................ 175
17.2 Floating point x87 instructions............................................................................... 179
17.3 Integer MMX and XMM instructions ...................................................................... 181
17.4 Floating point XMM instructions ............................................................................ 183
18 Instruction set compatibility table................................................................................. 185
18.1 Explanation of instruction sets .............................................................................. 186
19 Comparison of the different microprocessors .............................................................. 190
20 Literature..................................................................................................................... 191
21 Copyright notice .......................................................................................................... 191

Via: Software optimization resources - rohitab.com - Forums

Download:

http://agner.org/optimize/instruction_tables.pdf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...