diff mbox

[1/1] Remove ns32k leftover

Message ID 20170625051148.GA26969@SDF.ORG
State New
Headers show

Commit Message

Maya Rashish June 25, 2017, 5:11 a.m. UTC
Support for ns32k was removed in GCC4.
---
 include/longlong.h | 36 ------------------------------------
 1 file changed, 36 deletions(-)

Comments

Jeff Law June 27, 2017, 4:10 p.m. UTC | #1
On 06/24/2017 11:11 PM, Maya Rashish wrote:
> Support for ns32k was removed in GCC4.
> ---
>  include/longlong.h | 36 ------------------------------------
>  1 file changed, 36 deletions(-)
Thanks.  I added a ChangeLog entry and committed your change.

jeff
diff mbox

Patch

diff --git a/include/longlong.h b/include/longlong.h
index 9d3ab21be..c24568ace 100644
--- a/include/longlong.h
+++ b/include/longlong.h
@@ -858,42 +858,6 @@  extern UDItype __umulsidi3 (USItype, USItype);
 #endif
 #endif /* __mips__ */
 
-#if defined (__ns32000__) && W_TYPE_SIZE == 32
-#define umul_ppmm(w1, w0, u, v) \
-  ({union {UDItype __ll;						\
-	   struct {USItype __l, __h;} __i;				\
-	  } __xx;							\
-  __asm__ ("meid %2,%0"							\
-	   : "=g" (__xx.__ll)						\
-	   : "%0" ((USItype) (u)),					\
-	     "g" ((USItype) (v)));					\
-  (w1) = __xx.__i.__h; (w0) = __xx.__i.__l;})
-#define __umulsidi3(u, v) \
-  ({UDItype __w;							\
-    __asm__ ("meid %2,%0"						\
-	     : "=g" (__w)						\
-	     : "%0" ((USItype) (u)),					\
-	       "g" ((USItype) (v)));					\
-    __w; })
-#define udiv_qrnnd(q, r, n1, n0, d) \
-  ({union {UDItype __ll;						\
-	   struct {USItype __l, __h;} __i;				\
-	  } __xx;							\
-  __xx.__i.__h = (n1); __xx.__i.__l = (n0);				\
-  __asm__ ("deid %2,%0"							\
-	   : "=g" (__xx.__ll)						\
-	   : "0" (__xx.__ll),						\
-	     "g" ((USItype) (d)));					\
-  (r) = __xx.__i.__l; (q) = __xx.__i.__h; })
-#define count_trailing_zeros(count,x) \
-  do {									\
-    __asm__ ("ffsd     %2,%0"						\
-	    : "=r" ((USItype) (count))					\
-	    : "0" ((USItype) 0),					\
-	      "r" ((USItype) (x)));					\
-  } while (0)
-#endif /* __ns32000__ */
-
 /* FIXME: We should test _IBMR2 here when we add assembly support for the
    system vendor compilers.
    FIXME: What's needed for gcc PowerPC VxWorks?  __vxworks__ is not good