Merge pull request #649 from dbabokin/dispatch2

Typo fix
This commit is contained in:
Dmitry Babokin
2013-10-28 14:35:55 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ static bool __os_has_avx_support() {
// Check if the OS will save the YMM registers
unsigned long long xcrFeatureMask = _xgetbv(_XCR_XFEATURE_ENABLED_MASK);
return (xcrFeatureMask & 6) == 6;
#else // defined(ISPC_IS_WINDOWS)
#else // !defined(ISPC_IS_WINDOWS)
// Check xgetbv; this uses a .byte sequence instead of the instruction
// directly because older assemblers do not include support for xgetbv and
// there is no easy way to conditionally compile based on the assembler used.

View File

@@ -108,7 +108,7 @@ static bool __os_has_avx_support() {
// Check if the OS will save the YMM registers
unsigned long long xcrFeatureMask = _xgetbv(_XCR_XFEATURE_ENABLED_MASK);
return (xcrFeatureMask & 6) == 6;
#else // defined(ISPC_IS_WINDOWS)
#else // !defined(ISPC_IS_WINDOWS)
// Check xgetbv; this uses a .byte sequence instead of the instruction
// directly because older assemblers do not include support for xgetbv and
// there is no easy way to conditionally compile based on the assembler used.