ab083a36eb
noticed and tested by pval
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
$OpenBSD: patch-mpi_longlong_h,v 1.2 2006/02/06 06:43:48 sturm Exp $
|
|
--- mpi/longlong.h.orig Wed Mar 3 09:21:49 2004
|
|
+++ mpi/longlong.h Sun Feb 5 09:41:09 2006
|
|
@@ -170,6 +170,7 @@ MA 02111-1307, USA. */
|
|
(pl) = __m0 * __m1; \
|
|
} while (0)
|
|
#define UMUL_TIME 46
|
|
+#if 0
|
|
#ifndef LONGLONG_STANDALONE
|
|
#define udiv_qrnnd(q, r, n1, n0, d) \
|
|
do { UDItype __r; \
|
|
@@ -179,6 +180,7 @@ MA 02111-1307, USA. */
|
|
extern UDItype __udiv_qrnnd ();
|
|
#define UDIV_TIME 220
|
|
#endif /* LONGLONG_STANDALONE */
|
|
+#endif /* 0 */
|
|
#endif /* __alpha */
|
|
|
|
/***************************************
|
|
@@ -1133,7 +1135,7 @@ extern USItype __udiv_qrnnd ();
|
|
"rJ" ((USItype)(al)), \
|
|
"rI" ((USItype)(bl)) \
|
|
__CLOBBER_CC)
|
|
-#if defined (__sparc_v8__)
|
|
+#if defined (__sparc_v8__) || defined (__sparc__)
|
|
/* Don't match immediate range because, 1) it is not often useful,
|
|
2) the 'I' flag thinks of the range as a 13 bit signed interval,
|
|
while we want to match a 13 bit interval, sign extended to 32 bits,
|