hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
authorSteve Ellcey <sje@cup.hp.com>
Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)
* config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
(FIXUNS_TRUNCTFDI2_LIBCALL): New.
(fixunstfsi_libfunc): Change.
(fixunstfdi_libfunc): Change.
(sdiv_optab): Don't zero out SImode handler.
(udiv_optab): Don't zero out SImode handler.
(smod_optab): Don't zero out SImode handler.
(umod_optab): Don't zero out SImode handler.

From-SVN: r59238

gcc/ChangeLog
gcc/config/ia64/hpux_longdouble.h

index 13371e2c6e8f6aec86190263ca8658f123d1aff4..87eb85beea76a0a44cc5955680910f59d98ff918 100644 (file)
@@ -1,3 +1,14 @@
+2002-11-18  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
+       (FIXUNS_TRUNCTFDI2_LIBCALL): New.
+       (fixunstfsi_libfunc): Change.
+       (fixunstfdi_libfunc): Change.
+       (sdiv_optab): Don't zero out SImode handler.
+       (udiv_optab): Don't zero out SImode handler.
+       (smod_optab): Don't zero out SImode handler.
+       (umod_optab): Don't zero out SImode handler.
+
 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
 
        PR preprocessor/8524
index d1af4a0d418217946ecad4017ac390552c81e5ff..53330332be8c1fbb9558bdf062b1c67d55baf120 100644 (file)
@@ -41,6 +41,8 @@ Boston, MA 02111-1307, USA.  */
 #define FLOATDITF2_LIBCALL "_U_Qfcnvxf_dbl_to_quad"
 #define FIX_TRUNCTFSI2_LIBCALL "_U_Qfcnvfxt_quad_to_sgl"
 #define FIX_TRUNCTFDI2_LIBCALL "_U_Qfcnvfxt_quad_to_dbl"
+#define FIXUNS_TRUNCTFSI2_LIBCALL "_U_Qfcnvfxut_quad_to_sgl"
+#define FIXUNS_TRUNCTFDI2_LIBCALL "_U_Qfcnvfxut_quad_to_dbl"
 #define EQTF2_LIBCALL "_U_Qfeq"
 #define NETF2_LIBCALL "_U_Qfne"
 #define GTTF2_LIBCALL "_U_Qfgt"
@@ -76,8 +78,8 @@ Boston, MA 02111-1307, USA.  */
     floatditf_libfunc = gen_rtx_SYMBOL_REF (Pmode, FLOATDITF2_LIBCALL);  \
     fixtfsi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIX_TRUNCTFSI2_LIBCALL);\
     fixtfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIX_TRUNCTFDI2_LIBCALL);\
-    fixunstfsi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIX_TRUNCTFSI2_LIBCALL);  \
-    fixunstfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIX_TRUNCTFDI2_LIBCALL);  \
+    fixunstfsi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIXUNS_TRUNCTFSI2_LIBCALL);  \
+    fixunstfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, FIXUNS_TRUNCTFDI2_LIBCALL);  \
     eqtf2_libfunc = gen_rtx_SYMBOL_REF (Pmode, EQTF2_LIBCALL);         \
     netf2_libfunc = gen_rtx_SYMBOL_REF (Pmode, NETF2_LIBCALL);         \
     gttf2_libfunc = gen_rtx_SYMBOL_REF (Pmode, GTTF2_LIBCALL);         \
@@ -85,11 +87,6 @@ Boston, MA 02111-1307, USA.  */
     lttf2_libfunc = gen_rtx_SYMBOL_REF (Pmode, LTTF2_LIBCALL);         \
     letf2_libfunc = gen_rtx_SYMBOL_REF (Pmode, LETF2_LIBCALL);         \
                                                                        \
-  sdiv_optab->handlers[(int) SImode].libfunc = 0;                       \
-  udiv_optab->handlers[(int) SImode].libfunc = 0;                       \
-  smod_optab->handlers[(int) SImode].libfunc = 0;                       \
-  umod_optab->handlers[(int) SImode].libfunc = 0;                       \
-                                                                       \
     INIT_SUBTARGET_OPTABS;                                             \
   } while (0)