diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2021-03-11 21:04:17 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2021-03-11 21:04:17 +0100 |
commit | ff8d50dc854aa6b967b9d63a33cc33e583e6e983 (patch) | |
tree | e53be550094cce9965df83263d6734015ba10b5e /longlong.h | |
parent | 5f8739a6ce9a3a78b66d52b5c7624e273d055f0e (diff) | |
download | gmp-ff8d50dc854aa6b967b9d63a33cc33e583e6e983.tar.gz |
Disable s390 patterns which makes clang barf.
Diffstat (limited to 'longlong.h')
-rw-r--r-- | longlong.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/longlong.h b/longlong.h index 42515aec8..46afdd7d3 100644 --- a/longlong.h +++ b/longlong.h @@ -860,6 +860,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype); : "0" ((UDItype)(ah)), "r" ((UDItype)(bh)), \ "1" ((UDItype)(al)), "r" ((UDItype)(bl)) __CLOBBER_CC); \ } while (0) +if !defined (__clang__) #define umul_ppmm(xh, xl, m0, m1) \ do { \ union {unsigned int __attribute__ ((mode(TI))) __ll; \ @@ -881,6 +882,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype); : "0" (__x.__ll), "r" ((UDItype)(d))); \ (q) = __x.__i.__l; (r) = __x.__i.__h; \ } while (0) +#endif #if 0 /* FIXME: Enable for z10 (?) */ #define count_leading_zeros(cnt, x) \ do { \ |