Boost logo

Boost :

Subject: Re: [boost] [random] parallel random number generators
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-01-29 14:09:00


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk