Boost logo

Boost :

Subject: Re: [boost] Accelerating algorithms with SIMD - Segmented iterators and alternatives
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2010-10-12 13:31:40


DE wrote:
> so my question is: do you expect code writers which want their
> binaries work across all modern x86 processors (starting with pentium)
> to write plain version along with accelerated one? or will your
> implementation fall back to plain old say x87 when sse2 is not
> available so the writer could write only one version of source?

But how is this different from specifying appropriate compile options for the platforms you intent to support? Even the code generated by a compiler will only work on the processor architectures that the compiler targeted. And if you tell the compiler to target the lowest common denominator, the resulting code will be quite slow.

Regards,
Thomas


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