diff options
author | John F. Carr <jfc@mit.edu> | 1997-12-12 00:39:47 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-11 17:39:47 -0700 |
commit | b16d8734bc83e11ed543ae778518a22cef1b0b6b (patch) | |
tree | 009c120c035ee69c6f9605b80b1cabf1f41cbdc2 /gcc | |
parent | 68d753125ebbac251bba843de8c2f151d909a0e1 (diff) | |
download | gcc-b16d8734bc83e11ed543ae778518a22cef1b0b6b.zip gcc-b16d8734bc83e11ed543ae778518a22cef1b0b6b.tar.gz gcc-b16d8734bc83e11ed543ae778518a22cef1b0b6b.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d44e4f..0bb0666 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index fe4e98c..5891222 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 |