+2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
+
+ * libgcc2.c: Added the missing #endif.
+
Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
* i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
#if defined (L_divdi3) || defined (L_moddi3)
static inline
#endif
+DWtype
+__negdi2 (DWtype u)
+{
+ DWunion w;
+ DWunion uu;
+
+ uu.ll = u;
+
+ w.s.low = -uu.s.low;
+ w.s.high = -uu.s.high - ((UWtype) w.s.low > 0);
+
+ return w.ll;
+}
+#endif
#ifdef L_addvsi3
SItype
return w;
}
+#endif
\f
#ifdef L_addvdi3
DItype
w = a * b;
- if ((a >= 0 && b >= 0) ? w < 0
- : (a >= 0 || b >= 0) ? w > 0 : w < 0)
+ if (((u >= 0) == (v >= 0)) ? w < 0 : w > 0)
abort ();
return w;
w = u * v;
- if ((u >= 0 && v >= 0) ? w < 0
- : (u >= 0 || v >= 0) ? w > 0 : w < 0)
+ if (((u >= 0) == (v >= 0)) ? w < 0 : w > 0)
abort ();
return w;
}
#endif
\f
-DWtype
-__negdi2 (DWtype u)
-{
- DWunion w;
- DWunion uu;
-
- uu.ll = u;
- w.s.low = -uu.s.low;
- w.s.high = -uu.s.high - ((UWtype) w.s.low > 0);
-
- return w.ll;
-}
-#endif
-\f
/* Unless shift functions are defined whith full ANSI prototypes,
parameter b will be promoted to int if word_type is smaller than an int. */
#ifdef L_lshrdi3