3 ms·
About the AESNI runs, a comment on the post suggested to run some AESNI instructions on random numbers to clear (but not zero) the registers. With my very limit
by skrebbel 11y ago
About the AESNI runs, a comment on the post suggested to run some AESNI instructions on random numbers to clear (but not zero) the registers. With my very limited knowledge of all this, I can't shoot any holes in it. Is it insufficient? (for just the XMM register problem)
- boulos 11y agoYou'd still have to find a way to get the compiler not to eliminate the whole thing. So if you attempt to trash the registers with stuff but don't "mix it in" to the return value, the compiler is free to elude the whole thing. Perhaps if you write it out to a dummy output parameter though, combined with noinline that would sufficiently defeat this.