Added disable-handle-pseudo-memory-ops option.

This commit is contained in:
Matt Pharr
2011-10-23 13:35:23 -07:00
parent d224252b5d
commit 6084d6aeaf
4 changed files with 18 additions and 4 deletions

6
ispc.h
View File

@@ -227,6 +227,12 @@ struct Opt {
/** Indicates whether assert() statements should be ignored (for
performance in the generated code). */
bool disableAsserts;
/** If enabled, the various __pseudo* memory ops (gather/scatter,
masked load/store) are left in their __pseudo* form, for better
understanding of the structure of generated code when reading
it. */
bool disableHandlePseudoMemoryOps;
/** On targets that don't have a masked store instruction but do have a
blending instruction, by default, we simulate masked stores by