From: John Pavel (jrp_at_[hidden])
Date: 2007-11-16 13:44:04
Just as it is possible to invoke, eg, async exceptions by means of
it would be helpful to be able to set a few other flags, notably for
different types of special instruction and floating point handling:
More specifically, could we invoke the use of SSE instructions?
In gcc, this is done by the -mssse, -mssse2, etc, flags. gcc 4.3.0 also
. Support for SSSE3 built-in functions and code generation are available via
-mssse3 (which also comes with the core2 architecture)
. Support for SSE4.1 built-in functions and code generation are available
. Support for SSE4.2 built-in functions and code generation are available
VC++ has the /arch option (see
http://msdn2.microsoft.com/en-gb/library/7t5yh4fd(VS.90).aspx) Intel has
Could we also invoke different types of floating point handling:
For recent versions of VC++ (and Intel compilers) we have /fp:[precise |
except[-] | fast | strict ] (see
Gcc has a similar, if more finely grained, set of options.
These options would be even more useful if combined with the ability to time
the running of tests, as it would allow the user to test the impact of using
faster v more accurate fp handling.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk