diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-11-05 11:41:40 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2007-11-05 11:41:40 +0000 |
commit | f139f5faa7063323dd3b00a0f6515e0e0683edb6 (patch) | |
tree | 17f69c8eda4c9a438ad75889784408e9b0b2a4c6 | |
parent | 278b63df6234b1289a868d6e517a4ba52066f1a9 (diff) | |
download | gcc-f139f5faa7063323dd3b00a0f6515e0e0683edb6.zip gcc-f139f5faa7063323dd3b00a0f6515e0e0683edb6.tar.gz gcc-f139f5faa7063323dd3b00a0f6515e0e0683edb6.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/libgcc2.c | 8 | ||||
-rw-r--r-- | gcc/libgcc2.h | 8 |
3 files changed, 15 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b546de..e56299f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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> PR tree-optimization/33856 diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 5351a3b..792bfe6 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1184,7 +1184,7 @@ __ucmpdi2 (DWtype a, DWtype b) #endif #if defined(L_fixunstfdi) && LIBGCC2_HAS_TF_MODE -DWtype +UDWtype __fixunstfDI (TFtype a) { if (a < 0) @@ -1220,7 +1220,7 @@ __fixtfdi (TFtype a) #endif #if defined(L_fixunsxfdi) && LIBGCC2_HAS_XF_MODE -DWtype +UDWtype __fixunsxfDI (XFtype a) { if (a < 0) @@ -1256,7 +1256,7 @@ __fixxfdi (XFtype a) #endif #if defined(L_fixunsdfdi) && LIBGCC2_HAS_DF_MODE -DWtype +UDWtype __fixunsdfDI (DFtype a) { /* Get high part of result. The division here will just moves the radix @@ -1285,7 +1285,7 @@ __fixdfdi (DFtype a) #endif #if defined(L_fixunssfdi) && LIBGCC2_HAS_SF_MODE -DWtype +UDWtype __fixunssfDI (SFtype a) { #if LIBGCC2_HAS_DF_MODE diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h index 944f6fa..9f2ca39 100644 --- a/gcc/libgcc2.h +++ b/gcc/libgcc2.h @@ -375,7 +375,7 @@ extern DWtype __fixsfdi (SFtype); extern SFtype __floatdisf (DWtype); extern SFtype __floatundisf (UDWtype); extern UWtype __fixunssfSI (SFtype); -extern DWtype __fixunssfDI (SFtype); +extern UDWtype __fixunssfDI (SFtype); extern SFtype __powisf2 (SFtype, int); extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype); extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype); @@ -385,7 +385,7 @@ extern DWtype __fixdfdi (DFtype); extern DFtype __floatdidf (DWtype); extern DFtype __floatundidf (UDWtype); extern UWtype __fixunsdfSI (DFtype); -extern DWtype __fixunsdfDI (DFtype); +extern UDWtype __fixunsdfDI (DFtype); extern DFtype __powidf2 (DFtype, int); extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype); extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); @@ -393,7 +393,7 @@ extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); #if LIBGCC2_HAS_XF_MODE extern DWtype __fixxfdi (XFtype); -extern DWtype __fixunsxfDI (XFtype); +extern UDWtype __fixunsxfDI (XFtype); extern XFtype __floatdixf (DWtype); extern XFtype __floatundixf (UDWtype); extern UWtype __fixunsxfSI (XFtype); @@ -403,7 +403,7 @@ extern XCtype __mulxc3 (XFtype, XFtype, XFtype, XFtype); #endif #if LIBGCC2_HAS_TF_MODE -extern DWtype __fixunstfDI (TFtype); +extern UDWtype __fixunstfDI (TFtype); extern DWtype __fixtfdi (TFtype); extern TFtype __floatditf (DWtype); extern TFtype __floatunditf (UDWtype); |