Auto-update catch2 to v3.5.4 (#3832)
* Update catch2 to v3.5.4 * catch2: Add windows arm64 patchpull/3835/head
parent
ce583d1736
commit
69750bcf07
2 changed files with 29 additions and 1 deletions
@ -0,0 +1,24 @@ |
||||
diff --git a/src/catch2/internal/catch_random_integer_helpers.hpp b/src/catch2/internal/catch_random_integer_helpers.hpp
|
||||
index 10d82559..cb5e004f 100644
|
||||
--- a/src/catch2/internal/catch_random_integer_helpers.hpp
|
||||
+++ b/src/catch2/internal/catch_random_integer_helpers.hpp
|
||||
@@ -21,7 +21,10 @@
|
||||
// it, and it provides an escape hatch to the users who need it.
|
||||
#if defined( __SIZEOF_INT128__ )
|
||||
# define CATCH_CONFIG_INTERNAL_UINT128
|
||||
-#elif defined( _MSC_VER ) && ( defined( _WIN64 ) || defined( _M_ARM64 ) )
|
||||
+// Unlike GCC, MSVC does not polyfill umul as mulh + mul pair on ARM machines.
|
||||
+// Currently we do not bother doing this ourselves, but we could if it became
|
||||
+// important for perf.
|
||||
+#elif defined( _MSC_VER ) && defined( _M_X64 )
|
||||
# define CATCH_CONFIG_INTERNAL_MSVC_UMUL128
|
||||
#endif
|
||||
|
||||
@@ -36,7 +39,6 @@
|
||||
!defined( CATCH_CONFIG_MSVC_UMUL128 )
|
||||
# define CATCH_CONFIG_MSVC_UMUL128
|
||||
# include <intrin.h>
|
||||
-# pragma intrinsic( _umul128 )
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in new issue