Commit 18efc0dd by Segher Boessenkool Committed by Segher Boessenkool

longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.

2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>

libgcc/
       * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.

From-SVN: r190434
parent 800d16e9
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org> 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. * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2012-08-03 H.J. Lu <hongjiu.lu@intel.com> 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
......
...@@ -850,8 +850,6 @@ UDItype __umulsidi3 (USItype, USItype); ...@@ -850,8 +850,6 @@ UDItype __umulsidi3 (USItype, USItype);
FIXME: What's needed for gcc PowerPC VxWorks? __vxworks__ is not good FIXME: What's needed for gcc PowerPC VxWorks? __vxworks__ is not good
enough, since that hits ARM and m68k too. */ enough, since that hits ARM and m68k too. */
#if (defined (_ARCH_PPC) /* AIX */ \ #if (defined (_ARCH_PPC) /* AIX */ \
|| defined (_ARCH_PWR) /* AIX */ \
|| defined (_ARCH_COM) /* AIX */ \
|| defined (__powerpc__) /* gcc */ \ || defined (__powerpc__) /* gcc */ \
|| defined (__POWERPC__) /* BEOS */ \ || defined (__POWERPC__) /* BEOS */ \
|| defined (__ppc__) /* Darwin */ \ || defined (__ppc__) /* Darwin */ \
...@@ -914,14 +912,6 @@ UDItype __umulsidi3 (USItype, USItype); ...@@ -914,14 +912,6 @@ UDItype __umulsidi3 (USItype, USItype);
} while (0) } while (0)
#define SMUL_TIME 14 #define SMUL_TIME 14
#define UDIV_TIME 120 #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
#endif /* 32-bit POWER architecture variants. */ #endif /* 32-bit POWER architecture variants. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment