OSDN Git Service

* sparc/sol2.h: Use 64 bit multiply and divide functions in
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Dec 1997 00:39:47 +0000 (00:39 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Dec 1997 00:39:47 +0000 (00:39 +0000)
        Solaris libc.  Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
        as 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17050 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 8d44e4f..0bb0666 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 fe4e98c..5891222 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