Skip to content

Commit 2609d5f

Browse files
committed
The patch resolves GCC compilation issues for the C++ language targeting
aarch64-w64-mingw32. More information could be found here: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662020.html
1 parent 9117ec4 commit 2609d5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ full_multiplication(uint64_t a, uint64_t b) {
344344
answer.high = __umulh(a, b);
345345
answer.low = a * b;
346346
#elif defined(FASTFLOAT_32BIT) || (defined(_WIN64) && !defined(__clang__))
347+
#elif defined(FASTFLOAT_32BIT) || (defined(_WIN64) && !defined(__clang__) \
348+
&& !defined(_M_ARM64))
347349
answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
348350
#elif defined(FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
349351
__uint128_t r = ((__uint128_t)a) * b;

0 commit comments

Comments
 (0)