From b16d8734bc83e11ed543ae778518a22cef1b0b6b Mon Sep 17 00:00:00 2001 From: "John F. Carr" Date: Fri, 12 Dec 1997 00:39:47 +0000 Subject: [PATCH] sol2.h: Use 64 bit multiply and divide functions in Solaris libc. * 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 | 4 ++++ gcc/config/sparc/sol2.h | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d44e4f3b8a..0bb0666e46a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ Thu Dec 11 17:23:48 1997 John F. Carr + * 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. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index fe4e98c3c03..5891222a0ce 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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