Skip to content

Commit

Permalink
Merge pull request #63 from cppalliance/arm64
Browse files Browse the repository at this point in the history
Change macro for __umulh
  • Loading branch information
mborland authored Aug 1, 2023
2 parents f3682f7 + dba4773 commit c92eb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/charconv/detail/emulated128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ BOOST_CHARCONV_SAFEBUFFERS inline uint128 umul128(std::uint64_t x, std::uint64_t
return {static_cast<std::uint64_t>(high), low};

// https://developer.arm.com/documentation/dui0802/a/A64-General-Instructions/UMULH
#elif defined(__arm__)
#elif defined(_M_ARM64) && !defined(__MINGW32__)

std::uint64_t high = __umulh(x, y);
std::uint64_t low = x * y;
Expand Down

0 comments on commit c92eb9e

Please sign in to comment.