|
Boost : |
Subject: Re: [boost] Accelerating algorithms with SIMD - Segmented iterators and alternatives
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-10-12 15:27:57
On 12/10/10 21:22, Thomas Klimpel wrote:
> Question to Joel:
> Will this compiler automatically do the correct thing with NT2 without any further user intervention?
>
NT2 vectorization is triggeed by the activation of compiler option for
SIMD exteniosn (-msse2 etc) so yes.
> If I understood correctly, NT2 will know at compile time which SIMD instruction set is available, and generate the appropriate code.
Yes
> Now if the intel compiler compiles the code multiple times for different target architectures, I imagine that NT2 would generate the appropriate code during the different compile runs for the different architectures,
Yes
> so that the resulting executable should work optimal right out of the box. Is this correct?
>
You lost me here, how do you link all your version ? Dynamically or what ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk