Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

x86: latency and throughput of transcendental functions

Intel® 64 and IA-32 Architectures Optimization Reference Manual lists latency and throughput figures for various CPU instructions.

For transcendental functions (FSIN etc) some of the figures are listed as ranges (page C-29). Footnote 4 explains:

Latency and Throughput of transcendental instructions can vary substantially in a dynamic execution environment. Only an approximate value or a range of values are given for these instructions.

My question is: what factors affect the throughput and latency of such instructions? I imagine the value of the argument is one factor. Are there any other?

like image 260
NPE Avatar asked Dec 12 '25 14:12

NPE


1 Answers

Besides the argument, the mix of other instructions that are in flight may have an effect on the latency and throughput. These instructions are microcoded, which means they generate a sequence of µops which need to contend with other instructions for ALU resources; in case of such contention, performance may be adversely effected.

like image 167
Stephen Canon Avatar answered Dec 15 '25 12:12

Stephen Canon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!