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
This commit is contained in:
Steve Ellcey 2002-11-18 23:21:42 +00:00 committed by Steve Ellcey
parent 5bdb1440a1
commit 08c42743e0
2 changed files with 15 additions and 7 deletions

View 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

View 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)