summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1999-12-14 01:33:04 +0100
committertege <tege@gmplib.org>1999-12-14 01:33:04 +0100
commitb97621f332c2fdaa5b8df4ce71c2f5026df3ed43 (patch)
treec19f9ca6689d7fea576e78ea5672522310e37cc9 /longlong.h
parentfc9bc384c3ba2080b7c02a26ada7925129324512 (diff)
downloadgmp-b97621f332c2fdaa5b8df4ce71c2f5026df3ed43.tar.gz
Move 64-bit hppa code out of __GNUC__ conditional.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/longlong.h b/longlong.h
index edf0d37cc..7337ac5a0 100644
--- a/longlong.h
+++ b/longlong.h
@@ -133,6 +133,27 @@ MA 02111-1307, USA. */
#endif
#endif /* __alpha */
+#if defined (__hppa) && W_TYPE_SIZE == 64
+/* We put the result pointer parameter last here, since it makes passing
+ of the other parameters more efficient. */
+#define umul_ppmm(wh, wl, u, v) \
+ do { \
+ UDItype __p0; \
+ (wh) = __umul_ppmm64 (u, v, &__p0); \
+ (wl) = __p0; \
+ } while (0)
+extern UDItype __umul_ppmm64 _PROTO ((UDItype, UDItype, UDItype *));
+#define udiv_qrnnd(q, r, n1, n0, d) \
+ do { UDItype __r; \
+ (q) = __udiv_qrnnd64 (n1, n0, d, &__r); \
+ (r) = __r; \
+ } while (0)
+extern UDItype __udiv_qrnnd64 _PROTO ((UDItype, UDItype, UDItype, UDItype *));
+#define UMUL_TIME 8
+#define UDIV_TIME 60
+#endif /* hppa */
+
+
#if defined (__GNUC__) && !defined (NO_ASM)
/* We sometimes need to clobber "cc" with gcc2, but that would not be
@@ -339,26 +360,6 @@ extern USItype __udiv_qrnnd _PROTO ((USItype *, USItype, USItype, USItype));
} while (0)
#endif /* hppa */
-#if defined (__hppa) && W_TYPE_SIZE == 64
-/* We put the result pointer parameter last here, since it makes passing
- of the other parameters more efficient. */
-#define umul_ppmm(wh, wl, u, v) \
- do { \
- UDItype __p0; \
- (wh) = __umul_ppmm64 (u, v, &__p0); \
- (wl) = __p0; \
- } while (0)
-extern UDItype __umul_ppmm64 _PROTO ((UDItype, UDItype, UDItype *));
-#define udiv_qrnnd(q, r, n1, n0, d) \
- do { UDItype __r; \
- (q) = __udiv_qrnnd64 (n1, n0, d, &__r); \
- (r) = __r; \
- } while (0)
-extern UDItype __udiv_qrnnd64 _PROTO ((UDItype, UDItype, UDItype, UDItype *));
-#define UMUL_TIME 8
-#define UDIV_TIME 60
-#endif /* hppa */
-
#if (defined (__i370__) || defined (__mvs__)) && W_TYPE_SIZE == 32
#define smul_ppmm(xh, xl, m0, m1) \
do { \