[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] build: avoid build failure on some sparc systems
From: |
Pádraig Brady |
Subject: |
[PATCH 1/3] build: avoid build failure on some sparc systems |
Date: |
Tue, 23 Oct 2012 12:23:13 +0100 |
* src/longlong.h: Restrict some sparc assembly variants
to sparc V9. This was seen to be an issue with newer
sparc systems with default gcc CPU options.
---
src/longlong.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/longlong.h b/src/longlong.h
index 510f40e..173afb9 100644
--- a/src/longlong.h
+++ b/src/longlong.h
@@ -1745,7 +1745,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype,
UWtype, UWtype);
#endif /* udiv_qrnnd */
#endif /* __sparc__ */
-#if defined (__sparc__) && W_TYPE_SIZE == 64
+#if (defined (__sparc_v9) || defined (__sparc_v9__)) && W_TYPE_SIZE == 64
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
__asm__ ( \
"addcc %r4,%5,%1\n" \
--
1.7.6.4
- more compile warnings with new factor, (continued)
- Re: more compile warnings with new factor, Pádraig Brady, 2012/10/23
- [PATCH 1/3] build: avoid build failure on some sparc systems,
Pádraig Brady <=
- Re: [PATCH 1/3] build: avoid build failure on some sparc systems, Jim Meyering, 2012/10/23
- [PATCH 2/3] build: avoid compile warnings in factor.c on some systems, Pádraig Brady, 2012/10/23
- Re: [PATCH 2/3] build: avoid compile warnings in factor.c on some systems, Jim Meyering, 2012/10/23
- Re: [PATCH 2/3] build: avoid compile warnings in factor.c on some systems, Pádraig Brady, 2012/10/23
- Re: [PATCH 2/3] build: avoid compile warnings in factor.c on some systems, Jim Meyering, 2012/10/23
- [PATCH 3/3] build: avoid warnings about unused variables and macros, Pádraig Brady, 2012/10/23
- Re: [PATCH 3/3] build: avoid warnings about unused variables and macros, Jim Meyering, 2012/10/23