diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-16 23:51:29 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-16 23:51:29 +0200 |
commit | 701ce8b458277d7177f2bbaa7244e58227391bc1 (patch) | |
tree | d50308fa81d37a8362c4be40c21fc836ede0c4c6 /longlong.h | |
parent | e9e60b195af8abbe8530f9f9a1ad2035aa066304 (diff) | |
download | gmp-701ce8b458277d7177f2bbaa7244e58227391bc1.tar.gz |
* longlong.h: Recognise __sparcv8 for gcc on Solaris. Reported by
Mark Mentovai <mark@mentovai.com>.
Diffstat (limited to 'longlong.h')
-rw-r--r-- | longlong.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/longlong.h b/longlong.h index 2d04e1004..89b6f4625 100644 --- a/longlong.h +++ b/longlong.h @@ -1127,6 +1127,8 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ((UWtype *, UWtype, UWtype, UWtype)); : "=r" (sh), "=&r" (sl) \ : "rJ" (ah), "rI" (bh), "rJ" (al), "rI" (bl) \ __CLOBBER_CC) +/* FIXME: When gcc -mcpu=v9 is used on solaris, gcc/config/sol2-sld-64.h + doesn't define anything to indicate that to us, it only sets __sparcv8. */ #if defined (__sparc_v9__) || defined (__sparcv9) /* Perhaps we should use floating-point operations here? */ #if 0 @@ -1150,7 +1152,8 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ((UWtype *, UWtype, UWtype, UWtype)); (q) = __q; \ } while (0) #else -#if defined (__sparc_v8__) +#if defined (__sparc_v8__) /* gcc normal */ \ + || defined (__sparcv8) /* gcc solaris */ /* Don't match immediate range because, 1) it is not often useful, 2) the 'I' flag thinks of the range as a 13 bit signed interval, while we want to match a 13 bit interval, sign extended to 32 bits, |