mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
1 parent
b64a761067
commit
495f0280a8
2 files changed
+4
No files matched your search
@@ -144,7 +144,9 @@
|
|||||||
// For MSVC's cl.exe (unlike clang or gcc), SIMD capability is a compile-time
|
// For MSVC's cl.exe (unlike clang or gcc), SIMD capability is a compile-time
|
||||||
// property of the source file (e.g. a /arch:AVX2 or -mavx2 compiler flag), not
|
// property of the source file (e.g. a /arch:AVX2 or -mavx2 compiler flag), not
|
||||||
// of individual functions (that can be conditionally selected at runtime).
|
// of individual functions (that can be conditionally selected at runtime).
|
||||||
|
#if !defined(WUFFS_CONFIG__I_KNOW_THAT_WUFFS_MSVC_PERFORMS_BEST_WITH_ARCH_AVX2)
|
||||||
#pragma message("Wuffs with MSVC+IX86/X64 performs best with /arch:AVX2")
|
#pragma message("Wuffs with MSVC+IX86/X64 performs best with /arch:AVX2")
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // defined(__AVX2__) || defined(__clang__)
|
#endif // defined(__AVX2__) || defined(__clang__)
|
||||||
#endif // defined(_M_X64)
|
#endif // defined(_M_X64)
|
||||||
|
|||||||
@@ -200,7 +200,9 @@ extern "C" {
|
|||||||
// For MSVC's cl.exe (unlike clang or gcc), SIMD capability is a compile-time
|
// For MSVC's cl.exe (unlike clang or gcc), SIMD capability is a compile-time
|
||||||
// property of the source file (e.g. a /arch:AVX2 or -mavx2 compiler flag), not
|
// property of the source file (e.g. a /arch:AVX2 or -mavx2 compiler flag), not
|
||||||
// of individual functions (that can be conditionally selected at runtime).
|
// of individual functions (that can be conditionally selected at runtime).
|
||||||
|
#if !defined(WUFFS_CONFIG__I_KNOW_THAT_WUFFS_MSVC_PERFORMS_BEST_WITH_ARCH_AVX2)
|
||||||
#pragma message("Wuffs with MSVC+IX86/X64 performs best with /arch:AVX2")
|
#pragma message("Wuffs with MSVC+IX86/X64 performs best with /arch:AVX2")
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // defined(__AVX2__) || defined(__clang__)
|
#endif // defined(__AVX2__) || defined(__clang__)
|
||||||
#endif // defined(_M_X64)
|
#endif // defined(_M_X64)
|
||||||
|
|||||||
Reference in new issue
Block a user