aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2002-11-18 23:21:42 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2002-11-18 23:21:42 +0000
commit08c42743e01fd59d90aa6c65a92d1085c5f0ef35 (patch)
treea32747b97c80d7ced269422f5c1759f3658636c4
parent5bdb1440a1e11b17ed56abdf15fb302064345565 (diff)
downloadgcc-08c42743e01fd59d90aa6c65a92d1085c5f0ef35.zip
gcc-08c42743e01fd59d90aa6c65a92d1085c5f0ef35.tar.gz
gcc-08c42743e01fd59d90aa6c65a92d1085c5f0ef35.tar.bz2
hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
* 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
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/config/ia64/hpux_longdouble.h11
2 files changed, 15 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 13371e2..87eb85b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/ia64/hpux_longdouble.h b/gcc/config/ia64/hpux_longdouble.h
index d1af4a0..5333033 100644
--- a/gcc/config/ia64/hpux_longdouble.h
+++ b/gcc/config/ia64/hpux_longdouble.h
@@ -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)