
29 Jan
2012
29 Jan
'12
7:09 p.m.
On Sun, 29 Jan 2012, John Salmon wrote: (snip)
By the way, the code in aes_hasaesni.hpp that trashes %ebx, and is therefore problematic with -m32 -fPIC is conditionalized on #ifdef BOOST_HAS_AESNI. While I agree that the #ifdef logic to set BOOST_HAS_AESNI needs work, I think it's safe to say that BOOST_HAS_AESNI should never be set when -m32 is in effect.
Is there a reason for that? AESNI instructions use SSE registers, so they are independent of 32-bit vs. 64-bit mode. -- Jeremiah Willcock