Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Instruction set latency

sebitab
Beginner
557 Views
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.
0 Kudos
4 Replies
Thomas_W_Intel
Employee
557 Views
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
0 Kudos
jancino
Beginner
557 Views
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....
0 Kudos
craigj0
Beginner
557 Views
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.
0 Kudos
Tal_U_Intel
Employee
557 Views
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
0 Kudos
Reply