sol2.h: Use 64 bit multiply and divide functions in Solaris libc.
authorJohn F. Carr <jfc@mit.edu>
Fri, 12 Dec 1997 00:39:47 +0000 (00:39 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 12 Dec 1997 00:39:47 +0000 (17:39 -0700)
        * sparc/sol2.h: Use 64 bit multiply and divide functions in
        Solaris libc.  Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
        as 0.

From-SVN: r17050

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

index 8d44e4f3b8ae078c342e3a04f13a901e29077a4e..0bb0666e46a3112346c78dfc68faa26efb8e1bbb 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 11 17:23:48 1997  John F. Carr  <jfc@mit.edu>
 
+       * sparc/sol2.h: Use 64 bit multiply and divide functions in
+       Solaris libc.  Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
+       as 0.
+
        * rtl.h (global_rtl): New variable, replacing separate variables for
        commonly used rtl.
        (const_int_rtx): Now array of rtx_def, not rtx.
index fe4e98c3c039aadedfb8a5e14b842449910e7ecc..5891222a0ce44eadb8b0892eb115f4ef0f828811 100644 (file)
@@ -179,3 +179,15 @@ Boston, MA 02111-1307, USA.  */
 #define WIDEST_HARDWARE_FP_SIZE 64
 
 #define STDC_0_IN_SYSTEM_HEADERS
+
+#define MULDI3_LIBCALL "__mul64"
+#define DIVDI3_LIBCALL "__div64"
+#define UDIVDI3_LIBCALL "__udiv64"
+#define MODDI3_LIBCALL "__rem64"
+#define UMODDI3_LIBCALL "__urem64"
+
+/* No weird SPARC variants on Solaris */
+#undef TARGET_LIVE_G0
+#define TARGET_LIVE_G0 0
+#undef TARGET_BROKEN_SAVERESTORE
+#define TARGET_BROKEN_SAVERESTORE 0