Fix some minor typos.

This commit is contained in:
David Reid
2018-08-26 10:18:40 +10:00
parent 810de16154
commit 8459892bf3
+2 -2
View File
@@ -2937,7 +2937,7 @@ static MAL_INLINE mal_bool32 mal_has_avx2()
#if defined(_AVX2_) || defined(__AVX2__) #if defined(_AVX2_) || defined(__AVX2__)
return MAL_TRUE; // If the compiler is allowed to freely generate AVX2 code we can assume support. return MAL_TRUE; // If the compiler is allowed to freely generate AVX2 code we can assume support.
#else #else
// AVX requires both CPU and OS support. // AVX2 requires both CPU and OS support.
#if defined(MAL_NO_CPUID) || defined(MAL_NO_XGETBV) #if defined(MAL_NO_CPUID) || defined(MAL_NO_XGETBV)
return MAL_FALSE; return MAL_FALSE;
#else #else
@@ -2958,7 +2958,7 @@ static MAL_INLINE mal_bool32 mal_has_avx2()
#endif #endif
#endif #endif
#else #else
return MAL_FALSE; // AVX is only supported on x86 and x64 architectures. return MAL_FALSE; // AVX2 is only supported on x86 and x64 architectures.
#endif #endif
#else #else
return MAL_FALSE; // No compiler support. return MAL_FALSE; // No compiler support.