summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-16 01:49:57 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-16 01:49:57 +0000
commitae5b70d087bd604af1d7011bbc6f34e9dfd1c9a4 (patch)
tree0435a9881f18ad0dcba946c1aa34da450aac967e /libgcc
parent6869cd07184f3a448f8150df7c747f3daea64dc1 (diff)
downloadgcc-ae5b70d087bd604af1d7011bbc6f34e9dfd1c9a4.tar.gz
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
libgcc/ * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/longlong.h10
2 files changed, 4 insertions, 10 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index eadae3ef7f1..5ffa9651a03 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,9 @@
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
+ * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
+
+2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
+
* longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/libgcc/longlong.h b/libgcc/longlong.h
index c62194ec9b0..30e638ca131 100644
--- a/libgcc/longlong.h
+++ b/libgcc/longlong.h
@@ -850,8 +850,6 @@ UDItype __umulsidi3 (USItype, USItype);
FIXME: What's needed for gcc PowerPC VxWorks? __vxworks__ is not good
enough, since that hits ARM and m68k too. */
#if (defined (_ARCH_PPC) /* AIX */ \
- || defined (_ARCH_PWR) /* AIX */ \
- || defined (_ARCH_COM) /* AIX */ \
|| defined (__powerpc__) /* gcc */ \
|| defined (__POWERPC__) /* BEOS */ \
|| defined (__ppc__) /* Darwin */ \
@@ -914,14 +912,6 @@ UDItype __umulsidi3 (USItype, USItype);
} while (0)
#define SMUL_TIME 14
#define UDIV_TIME 120
-#elif defined (_ARCH_PWR)
-#define UMUL_TIME 8
-#define smul_ppmm(xh, xl, m0, m1) \
- __asm__ ("mul %0,%2,%3" : "=r" (xh), "=q" (xl) : "r" (m0), "r" (m1))
-#define SMUL_TIME 4
-#define sdiv_qrnnd(q, r, nh, nl, d) \
- __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d))
-#define UDIV_TIME 100
#endif
#endif /* 32-bit POWER architecture variants. */