OSDN Git Service

*** empty log message ***
authortege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jul 1992 18:48:05 +0000 (18:48 +0000)
committertege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jul 1992 18:48:05 +0000 (18:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1502 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/longlong.h

index ccc5c24..fbee407 100644 (file)
     (q) = (USItype) __q1 * __ll_B | __q0;                              \
     (r) = __r0;                                                                \
   } while (0)
+
+/* If the processor has no udiv_qrnnd but sdiv_qrnnd, go through
+   __udiv_using_sdiv (defined in libgcc or elsewhere).  */
+#if !defined (udiv_qrnnd) && defined (sdiv_qrnnd)
+#define udiv_qrnnd(q, r, nh, nl, d) \
+  do {                                                                 \
+    USItype __r;                                                       \
+    (q) = __udiv_using_sdiv (&__r, nh, nl, d);                         \
+    (r) = __r;                                                         \
+  } while (0)
+#endif
+
 /* If udiv_qrnnd was not defined for this processor, use __udiv_qrnnd_c.  */
 #if !defined (udiv_qrnnd)
 #define UDIV_NEEDS_NORMALIZATION 1