3 ms·
Depends on the elements you're talking about. RDRAND takes no input other than "I need a number" and produces output by feeding the constant output of a hardwar
by zamadatix 7y ago
Depends on the elements you're talking about. RDRAND takes no input other than "I need a number" and produces output by feeding the constant output of a hardware RNG to the AES components of a particular core.
Pretty much every other piece of the CPU needs to consume inputs and produce outputs without race conditions or cache coherency. This is where it becomes difficult to connect and schedule and is the reason AMD ends up with 16*16 MB of L3 cache instead of 1x256MB, trying to pump coherency instead of just output over an interconnect comes with an ENORMOUS penalty.
- ryacko 7y agoI wasn’t aware that RDRAND was implemented in microcode on the same core, I thought it was implemented as a coprocessor with some microcode checks for quality. Avoiding speculation on the output of high latency instructions seems prudent.