From 362ee06b9f14c4ebb8672ba5d11dc3d5f7c6fac5 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Tue, 29 Oct 2013 01:35:26 +0400 Subject: [PATCH] Typo fix --- check_isa.cpp | 2 +- ispc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/check_isa.cpp b/check_isa.cpp index 3f8b487d..a4d10606 100644 --- a/check_isa.cpp +++ b/check_isa.cpp @@ -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. diff --git a/ispc.cpp b/ispc.cpp index 419c64ab..859865a5 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -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.