Commit 8459892b authored by David Reid's avatar David Reid

Fix some minor typos.

parent 810de161
...@@ -2937,7 +2937,7 @@ static MAL_INLINE mal_bool32 mal_has_avx2() ...@@ -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() ...@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment