Commit f139f5fa by Nathan Sidwell Committed by Nathan Sidwell

libgcc2.c (__fixunstfDI, [...]): Make return type unsigned.

	* libgcc2.c (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
	__fixunssfDI): Make return type unsigned.
	* libgcc2.h (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
	__fixunssfDI): Make return type unsigned.

From-SVN: r129899
parent 278b63df
2007-11-05 Nathan Sidwell <nathan@codesourcery.com>
* libgcc2.c (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
__fixunssfDI): Make return type unsigned.
* libgcc2.h (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
__fixunssfDI): Make return type unsigned.
2007-11-05 Jakub Jelinek <jakub@redhat.com> 2007-11-05 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/33856 PR tree-optimization/33856
...@@ -1184,7 +1184,7 @@ __ucmpdi2 (DWtype a, DWtype b) ...@@ -1184,7 +1184,7 @@ __ucmpdi2 (DWtype a, DWtype b)
#endif #endif
#if defined(L_fixunstfdi) && LIBGCC2_HAS_TF_MODE #if defined(L_fixunstfdi) && LIBGCC2_HAS_TF_MODE
DWtype UDWtype
__fixunstfDI (TFtype a) __fixunstfDI (TFtype a)
{ {
if (a < 0) if (a < 0)
...@@ -1220,7 +1220,7 @@ __fixtfdi (TFtype a) ...@@ -1220,7 +1220,7 @@ __fixtfdi (TFtype a)
#endif #endif
#if defined(L_fixunsxfdi) && LIBGCC2_HAS_XF_MODE #if defined(L_fixunsxfdi) && LIBGCC2_HAS_XF_MODE
DWtype UDWtype
__fixunsxfDI (XFtype a) __fixunsxfDI (XFtype a)
{ {
if (a < 0) if (a < 0)
...@@ -1256,7 +1256,7 @@ __fixxfdi (XFtype a) ...@@ -1256,7 +1256,7 @@ __fixxfdi (XFtype a)
#endif #endif
#if defined(L_fixunsdfdi) && LIBGCC2_HAS_DF_MODE #if defined(L_fixunsdfdi) && LIBGCC2_HAS_DF_MODE
DWtype UDWtype
__fixunsdfDI (DFtype a) __fixunsdfDI (DFtype a)
{ {
/* Get high part of result. The division here will just moves the radix /* Get high part of result. The division here will just moves the radix
...@@ -1285,7 +1285,7 @@ __fixdfdi (DFtype a) ...@@ -1285,7 +1285,7 @@ __fixdfdi (DFtype a)
#endif #endif
#if defined(L_fixunssfdi) && LIBGCC2_HAS_SF_MODE #if defined(L_fixunssfdi) && LIBGCC2_HAS_SF_MODE
DWtype UDWtype
__fixunssfDI (SFtype a) __fixunssfDI (SFtype a)
{ {
#if LIBGCC2_HAS_DF_MODE #if LIBGCC2_HAS_DF_MODE
......
...@@ -375,7 +375,7 @@ extern DWtype __fixsfdi (SFtype); ...@@ -375,7 +375,7 @@ extern DWtype __fixsfdi (SFtype);
extern SFtype __floatdisf (DWtype); extern SFtype __floatdisf (DWtype);
extern SFtype __floatundisf (UDWtype); extern SFtype __floatundisf (UDWtype);
extern UWtype __fixunssfSI (SFtype); extern UWtype __fixunssfSI (SFtype);
extern DWtype __fixunssfDI (SFtype); extern UDWtype __fixunssfDI (SFtype);
extern SFtype __powisf2 (SFtype, int); extern SFtype __powisf2 (SFtype, int);
extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype); extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype);
extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype); extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype);
...@@ -385,7 +385,7 @@ extern DWtype __fixdfdi (DFtype); ...@@ -385,7 +385,7 @@ extern DWtype __fixdfdi (DFtype);
extern DFtype __floatdidf (DWtype); extern DFtype __floatdidf (DWtype);
extern DFtype __floatundidf (UDWtype); extern DFtype __floatundidf (UDWtype);
extern UWtype __fixunsdfSI (DFtype); extern UWtype __fixunsdfSI (DFtype);
extern DWtype __fixunsdfDI (DFtype); extern UDWtype __fixunsdfDI (DFtype);
extern DFtype __powidf2 (DFtype, int); extern DFtype __powidf2 (DFtype, int);
extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype); extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype);
extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype);
...@@ -393,7 +393,7 @@ extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); ...@@ -393,7 +393,7 @@ extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype);
#if LIBGCC2_HAS_XF_MODE #if LIBGCC2_HAS_XF_MODE
extern DWtype __fixxfdi (XFtype); extern DWtype __fixxfdi (XFtype);
extern DWtype __fixunsxfDI (XFtype); extern UDWtype __fixunsxfDI (XFtype);
extern XFtype __floatdixf (DWtype); extern XFtype __floatdixf (DWtype);
extern XFtype __floatundixf (UDWtype); extern XFtype __floatundixf (UDWtype);
extern UWtype __fixunsxfSI (XFtype); extern UWtype __fixunsxfSI (XFtype);
...@@ -403,7 +403,7 @@ extern XCtype __mulxc3 (XFtype, XFtype, XFtype, XFtype); ...@@ -403,7 +403,7 @@ extern XCtype __mulxc3 (XFtype, XFtype, XFtype, XFtype);
#endif #endif
#if LIBGCC2_HAS_TF_MODE #if LIBGCC2_HAS_TF_MODE
extern DWtype __fixunstfDI (TFtype); extern UDWtype __fixunstfDI (TFtype);
extern DWtype __fixtfdi (TFtype); extern DWtype __fixtfdi (TFtype);
extern TFtype __floatditf (DWtype); extern TFtype __floatditf (DWtype);
extern TFtype __floatunditf (UDWtype); extern TFtype __floatunditf (UDWtype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment