aboutsummaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>1999-12-14 13:53:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>1999-12-14 13:53:39 +0100
commitafdac905840a1d37db1ba2510bc3ecee7b307d8c (patch)
treec79c7b3df215c1d8b66e7b99a0b774586e6ed66a /gcc/longlong.h
parenta330e73b144e71ac85ba571f643a1bbc19794d08 (diff)
downloadgcc-afdac905840a1d37db1ba2510bc3ecee7b307d8c.zip
gcc-afdac905840a1d37db1ba2510bc3ecee7b307d8c.tar.gz
gcc-afdac905840a1d37db1ba2510bc3ecee7b307d8c.tar.bz2
xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64.
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64. * config/sparc/sparc.h: Likewise. * config/sparc/xm-sysv4-64.h: Likewise. * config/float-sparc.h: Likewise. * glimits.h: Likewise. * longlong.h: Likewise. From-SVN: r30917
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index a2e56c4..6c91d4d 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -993,8 +993,8 @@ UDItype __umulsidi3 (USItype, USItype);
#define UMUL_TIME 5
#endif
-#if defined (__sparc__) && !defined (__sparc_v9__) && !defined(__arch64__) \
- && !defined(__sparc_v9) && W_TYPE_SIZE == 32
+#if defined (__sparc__) && !defined (__arch64__) && !defined (__sparcv9) \
+ && W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
__asm__ ("addcc %r4,%5,%1
addx %r2,%3,%0" \
@@ -1180,10 +1180,10 @@ UDItype __umulsidi3 (USItype, USItype);
#define UDIV_TIME (3+7*32) /* 7 instructions/iteration. 32 iterations. */
#endif /* __sparclite__ */
#endif /* __sparc_v8__ */
-#endif /* __sparc__ */
+#endif /* sparc32 */
-#if (defined (__sparc_v9__) || (defined (__sparc__) && defined (__arch64__)) \
- || defined (__sparcv9)) && W_TYPE_SIZE == 64
+#if ((defined (__sparc__) && defined (__arch64__)) || defined (__sparcv9)) \
+ && W_TYPE_SIZE == 64
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
__asm__ ("addcc %r4,%5,%1
add %r2,%3,%0
@@ -1246,7 +1246,7 @@ UDItype __umulsidi3 (USItype, USItype);
} while (0)
#define UMUL_TIME 96
#define UDIV_TIME 230
-#endif /* __sparc_v9__ */
+#endif /* sparc64 */
#if defined (__vax__) && W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \