Instruction set latency

Instruction set latency

Hello, I am working on assembly code optimization, I already read the code optimization manual, but I am interested in a list with the instruction set latencies. I search the intel site but I could not find it.
Where can I found this?.

Thanks for your answers.

5 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Thomas Willhalm (Intel)

Quoting - sebitab
Hello, I am working on assembly code optimization, I already read the code optimization manual, but I am interested in a list with the instruction set latencies. I search the intel site but I could not find it.
Where can I found this?.

Thanks for your answers.

The latencies are listed in Appendix C of the "Intel 64 and IA-32 Architectures Optimization Reference Manual", which can be downloaded here.

Kind regards
Thomas

Quoting - sebitab
Hello, I am working on assembly code optimization, I already read the code optimization manual, but I am interested in a list with the instruction set latencies. I search the intel site but I could not find it.
Where can I found this?.

Thanks for your answers.

You can use instruction latencies only for very rough approximation of real number of cycles taken, because actual results depends on whetevera operands are loaded to cache, other instructions in pipeline (conditions) and so on....

I find the instruction tables found here: http://www.agner.org/optimize/ to be very helpful. They are not perfect but they provide a pretty good estimate.

Quoting - craigj0
I find the instruction tables found here: http://www.agner.org/optimize/ to be very helpful. They are not perfect but they provide a pretty good estimate.

You can also try using Intel Architecture Code Analyzer available on:
http://software.intel.com/en-us/articles/intel-architecture-code-analyzer/

It can help you find the dependency chains in your code.

Tal

Melden Sie sich an, um einen Kommentar zu hinterlassen.