Subject: Re: [boost] [Proposal] Adding CPUID Library in Boost
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-12-11 10:38:54
On 11/12/12 16:18, Paul A. Bristow wrote:
> But I'm not sure if selection of instruction set should not be better done by the compiler at
> compile time, not at runtime. This should give the best possible performance (at the expense of
> different .exe versions). Or is this more useful for choosing the right version of .exe?
That is indeed the only correct way to do it, though you may do so at
the object level and not the executable level.
You still need however to have a mechanism to choose which version of
your function/exe to call...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk