/* US Software GOFAST floating point library support.
- Copyright (C) 1994, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1998, 1999, 2002, 2003, 2004
+ Free Software Foundation, Inc.
This file is part of GCC.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
/* The US Software GOFAST library requires special optabs support.
This file is intended to be included by config/ARCH/ARCH.c. It
set_optab_libfunc (lt_optab, DFmode, "dpcmp");
set_optab_libfunc (le_optab, DFmode, "dpcmp");
- extendsfdf2_libfunc = init_one_libfunc ("fptodp");
- truncdfsf2_libfunc = init_one_libfunc ("dptofp");
+ set_conv_libfunc (sext_optab, DFmode, SFmode, "fptodp");
+ set_conv_libfunc (trunc_optab, SFmode, DFmode, "dptofp");
- floatsisf_libfunc = init_one_libfunc ("sitofp");
- floatsidf_libfunc = init_one_libfunc ("litodp");
- fixsfsi_libfunc = init_one_libfunc ("fptosi");
- fixdfsi_libfunc = init_one_libfunc ("dptoli");
- fixunssfsi_libfunc = init_one_libfunc ("fptoui");
- fixunsdfsi_libfunc = init_one_libfunc ("dptoul");
+ set_conv_libfunc (sfix_optab, SImode, SFmode, "fptosi");
+ set_conv_libfunc (sfix_optab, SImode, DFmode, "dptoli");
+ set_conv_libfunc (ufix_optab, SImode, SFmode, "fptoui");
+ set_conv_libfunc (ufix_optab, SImode, DFmode, "dptoul");
+
+ set_conv_libfunc (sfloat_optab, SFmode, SImode, "sitofp");
+ set_conv_libfunc (sfloat_optab, DFmode, SImode, "litodp");
#endif
}