summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2021-09-22 11:08:06 +0200
committerTorbjorn Granlund <tg@gmplib.org>2021-09-22 11:08:06 +0200
commitf1d0f118c79c256b99280e21ce0b3e2a319a587a (patch)
tree51c2d30360b13bd9c93c3c1e9a3c35103e906d27 /longlong.h
parentb1e742f822c23a186dfffad05c9e9695a1c63a8d (diff)
downloadgmp-f1d0f118c79c256b99280e21ce0b3e2a319a587a.tar.gz
Change tested predef for Risc V.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/longlong.h b/longlong.h
index c4a2de572..9928b3bce 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1652,7 +1652,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype);
} while (0)
#endif /* RT/ROMP */
-#if defined (__riscv64) && W_TYPE_SIZE == 64
+#if defined (__riscv) && defined (__riscv_mul) && W_TYPE_SIZE == 64
#define umul_ppmm(ph, pl, u, v) \
do { \
UDItype __u = (u), __v = (v); \