What is the latency and throughput of the RDRAND instruction on Ivy Bridge?

前端 未结 4 1982
花落未央
花落未央 2020-11-30 04:06

I cannot find any info on agner.org on the latency or throughput of the RDRAND instruction. However, this processor exists, so the information must be out there.

Edi

4条回答
  •  不知归路
    2020-11-30 04:39

    I have done some preliminary throughput tests on an actual Ivy Bridge i7-3770 using Intel's "librdrand" wrapper and it generates 33-35 million 32bit numbers per second on a single core.

    This 70M number from Intel is about 8 cores; for one they report only about 10M, so my test is over 3x better :-/

提交回复
热议问题