mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 03:27:55 +08:00
a80db28939
Update catch2 port from 3.5.3 to 3.5.4 : https://github.com/catchorg/Catch2/releases/tag/v3.5.4 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
16 lines
795 B
Diff
16 lines
795 B
Diff
diff --git a/src/catch2/internal/catch_random_integer_helpers.hpp b/src/catch2/internal/catch_random_integer_helpers.hpp
|
|
--- 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( _WIN64 ) && !defined( _M_ARM64 )
|
|
# define CATCH_CONFIG_INTERNAL_MSVC_UMUL128
|
|
#endif
|
|
|