List of number of cycles for each instruction?

  • Follow


Hi,

I am looking for documents that would describe how many clock cycles 
each instruction takes on the different x86/x86_64 processors. I can't 
seem to find any such documents on AMDs web site or anywhere else.
My CPU is an athlon64 (AMD Athlon(tm) 64 X2 Dual Core Processor 5600+) 
but I would also like to have information about others.

Does anyone know of a good reference?
0
Reply Wolfnoliir 7/25/2009 6:44:47 PM

Wolfnoliir wrote:

> I am looking for documents that would describe how many clock cycles 
> each instruction takes on the different x86/x86_64 processors. I can't 
> seem to find any such documents on AMDs web site or anywhere else.
> My CPU is an athlon64 (AMD Athlon(tm) 64 X2 Dual Core Processor 5600+) 
> but I would also like to have information about others.
> 
> Does anyone know of a good reference?

The AMD docs are called 'Software Optimization Guide':
http://www.google.com/search?q=amd+software+optimization+guide

The Intel ones 'Optimization Reference Manual':
http://www.google.com/search?q=intel+optimization+reference+manual

They have instruction timing lists at the end.

Agner Fog has a document with timing tables as well (manual 4):
http://www.agner.org/optimize/
0
Reply tni 7/25/2009 8:14:16 PM


Wolfnoliir schrieb:
> I am looking for documents that would describe how many clock cycles 
> each instruction takes on the different x86/x86_64 processors. I can't 
> seem to find any such documents on AMDs web site or anywhere else.

Intel and AMD both have some documentation. Google finds it.

"Intel 64 and IA-32 Architectures Optimization Reference Manual"
<http://www.intel.com/Assets/PDF/manual/248966.pdf>
(Appendix C)

"AMD Athlon Processor x86 Code Optimization Guide"
<http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/22007.pdf>
(for K8, Appendix F)

"Software Optimization Guide for the AMD Hammer Processor"
<http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/40546_GH_Optguide_Ver_3-10_2-12-09.pdf>
(for K10, Appendix C)

> Does anyone know of a good reference?

http://www.agner.org/optimize/instruction_tables.pdf
http://gmplib.org/~tege/x86-timing.pdf


Hendrik vdH
0
Reply Hendrik 7/25/2009 8:15:08 PM

tni wrote:
> Wolfnoliir wrote:
> 
>> I am looking for documents that would describe how many clock cycles 
>> each instruction takes on the different x86/x86_64 processors. I can't 
>> seem to find any such documents on AMDs web site or anywhere else.
>> My CPU is an athlon64 (AMD Athlon(tm) 64 X2 Dual Core Processor 5600+) 
>> but I would also like to have information about others.
>>
>> Does anyone know of a good reference?
> 
> The AMD docs are called 'Software Optimization Guide':
> http://www.google.com/search?q=amd+software+optimization+guide
> 
> The Intel ones 'Optimization Reference Manual':
> http://www.google.com/search?q=intel+optimization+reference+manual
> 
> They have instruction timing lists at the end.
> 
> Agner Fog has a document with timing tables as well (manual 4):
> http://www.agner.org/optimize/

Thank you!
0
Reply Wolfnoliir 7/26/2009 6:40:27 PM

3 Replies
144 Views

(page loaded in 0.046 seconds)

Similiar Articles:













7/24/2012 8:10:11 PM


Reply: