3 ms·
That's still crazy to me that such a powerful operation is done per clock tick. I appreciate the uops.info table. I've never known about that site, so I'll sav
by dragontamer 3y ago
That's still crazy to me that such a powerful operation is done per clock tick.
I appreciate the uops.info table. I've never known about that site, so I'll save that off now. Very nicely presented latency/throughput stats.
-----------
EDIT: Looks like https://www.felixcloutier.com/x86/gf2p8mulb https://www.felixcloutier.com/x86/gf2p8mulb also exists. The 0b1'0001'1011 polynomial / x^8 + x^4+x^3+x+1 intrigues me, anyone have any idea why this particular GF-polynomial was chosen?
EDIT2: Looks like its related to AES somehow (https://crypto.stackexchange.com/questions/51848/why-is-x8-x4-x3-x-1-used-in-aess-rcon https://crypto.stackexchange.com/questions/51848/why-is-x8-x...). The CPU-chip already has AES-instructions hard coded for modern TLS reasons (and AES-acceleration is going to be in every modern chip). So I'm thinking that these multiplication routines might be "sharing the fundamental units" of the Intel CPU, and Intel is wondering if anyone out there can make due with the individual steps of Rinjadel/AES in other applications.