Skip to content

Commit

Permalink
require ARM64 for __umulh
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Jul 23, 2023
1 parent b8ccd14 commit 69f89e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/json/detail/charconv/detail/emulated128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ BOOST_JSON_SAFEBUFFERS inline uint128 umul128(std::uint64_t x, std::uint64_t y)
return {high, low};

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

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

0 comments on commit 69f89e9

Please sign in to comment.