Generate FMA instructions with AVX2 (when possible).

Issue #320.
This commit is contained in:
Matt Pharr
2012-08-03 10:43:41 -07:00
parent e6aec96e05
commit 19d8f2e258
3 changed files with 22 additions and 2 deletions

4
ispc.h
View File

@@ -304,6 +304,10 @@ struct Opt {
performance in the generated code). */
bool disableAsserts;
/** Indicates whether FMA instructions should be disabled (on targets
that support them). */
bool disableFMA;
/** If enabled, disables the various optimizations that kick in when
the execution mask can be determined to be "all on" at compile
time. */