Skip to content

Commit 8c911d9

Browse files
authored
Merge pull request #269 from eukarpov/support-aarch64-w64-mingw32-target
Support aarch64-w64-mingw32 target
2 parents 9117ec4 + c9f8339 commit 8c911d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ full_multiplication(uint64_t a, uint64_t b) {
343343
// But MinGW on ARM64 doesn't have native support for 64-bit multiplications
344344
answer.high = __umulh(a, b);
345345
answer.low = a * b;
346-
#elif defined(FASTFLOAT_32BIT) || (defined(_WIN64) && !defined(__clang__))
346+
#elif defined(FASTFLOAT_32BIT) || \
347+
(defined(_WIN64) && !defined(__clang__) && !defined(_M_ARM64))
347348
answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
348349
#elif defined(FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
349350
__uint128_t r = ((__uint128_t)a) * b;

0 commit comments

Comments
 (0)