]> gcc.gnu.org Git - gcc.git/commitdiff
sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long conversion functions.
authorJohn Carr <jfc@mit.edu>
Sun, 7 Jun 1998 14:15:53 +0000 (14:15 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 7 Jun 1998 14:15:53 +0000 (07:15 -0700)
Sun Jun  7 14:15:45 1998  John Carr  <jfc@mit.edu>
        * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
        conversion functions.

From-SVN: r20277

gcc/ChangeLog
gcc/config/sparc/sol2.h

index b495207954357189b108a1308dd8d2b0ac0c460c..033f74d455b7e138b55a82f170a42b2b716d01b2 100644 (file)
@@ -1,3 +1,8 @@
+Sun Jun  7 14:15:45 1998  John Carr  <jfc@mit.edu>
+
+       * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
+       conversion functions.
+
 Sun Jun  7 14:02:58 1998  Richard Henderson  <rth@cygnus.com>
 
        * toplev.c (flag_exceptions): Default to 0.
index 2c8c5f3f97bba8e5b42b4fc86b720e88600afc42..1cb0a6b47a15d5201011b32f9cb796a6e6f72d1a 100644 (file)
@@ -193,6 +193,13 @@ Boston, MA 02111-1307, USA.  */
 #define MODDI3_LIBCALL "__rem64"
 #define UMODDI3_LIBCALL "__urem64"
 
+#undef INIT_SUBTARGET_OPTABS
+#define INIT_SUBTARGET_OPTABS  \
+  fixsfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoll");     \
+  fixunssfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoull"); \
+  fixdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoll");     \
+  fixunsdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoull")
+
 /* No weird SPARC variants on Solaris */
 #undef TARGET_LIVE_G0
 #define TARGET_LIVE_G0 0
This page took 0.07041 seconds and 5 git commands to generate.