OSDN Git Service

* config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59238 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 13371e2..87eb85b 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 d1af4a0..5333033 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)