Boost logo

Boost :

Subject: Re: [boost] sorting floats by casting to integer
From: Cory Nelson (phrosty_at_[hidden])
Date: 2009-07-26 20:22:58


On Sun, Jul 26, 2009 at 4:06 PM, Steven Ross<spreadsort_at_[hidden]> wrote:
> On Mon, Jul 6, 2009 at 8:37 AM, Vladimir Prus <vladimir_at_[hidden]>wrote:
>
>> > I'll test with SSE and other compiler settings next.  Is there an easy
>> way
>> > to add these with bjam?
>>
>> Because bjam is actually a low-level build engine, it is pretty much
>> impossible
>> to do anything with it at all. Boost.Build allows you to pass any flags
>> to compiler you see fit, my previous post gives the actual syntax I have
>> used.
>>
>
> Thanks for the suggestion.
> I ended up passing those flags you suggested, and obtained this result:
> cl : Command line warning D9002 : ignoring unknown option '-march=nocona'
> cl : Command line warning D9002 : ignoring unknown option '-mfpmath=sse'

Those are for GCC. For VC++, you want to use /arch:SSE2.

-- 
Cory Nelson
http://int64.org

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