summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authortege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-05 23:02:03 +0000
committertege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-05 23:02:03 +0000
commit0be09dd38a91590364d974bb2287b50fe6e544d5 (patch)
treee21bea7a29315749a3f858dd9a403ce482615576 /gcc/longlong.h
parentda85fd329c681c3b42fd229a3b529c5078deda5f (diff)
downloadgcc-0be09dd38a91590364d974bb2287b50fe6e544d5.tar.gz
(expand_increment): If pre-incrementing a promoted
variable, don't adjust OP0 since the result won't be used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7656 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 86dfb29ceb2..19450c3b961 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -590,7 +590,7 @@
(r) = __xx.__i.__l; (q) = __xx.__i.__h; })
#endif /* __ns32000__ */
-#if (defined (__powerpc__) || defined (___IBMR2__)) && W_TYPE_SIZE == 32
+#if (defined (_ARCH_PPC) || defined (_IBMR2)) && W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
do { \
if (__builtin_constant_p (bh) && (bh) == 0) \
@@ -619,14 +619,14 @@
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
do { \
if (__builtin_constant_p (ah) && (ah) == 0) \
- __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfze|subfze} %0,%2" \
+ __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfze|subfze} %0,%2" \
: "=r" ((USItype)(sh)), \
"=&r" ((USItype)(sl)) \
: "r" ((USItype)(bh)), \
"rI" ((USItype)(al)), \
"r" ((USItype)(bl))); \
else if (__builtin_constant_p (ah) && (ah) ==~(USItype) 0) \
- __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfme|subfme} %0,%2" \
+ __asm__ ("{sf%I3|subf%I3c} %1,%4,%3\n\t{sfme|subfme} %0,%2" \
: "=r" ((USItype)(sh)), \
"=&r" ((USItype)(sl)) \
: "r" ((USItype)(bh)), \
@@ -659,7 +659,7 @@
__asm__ ("{cntlz|cntlzw} %0,%1" \
: "=r" ((USItype)(count)) \
: "r" ((USItype)(x)))
-#if defined (__powerpc__)
+#if defined (_ARCH_PPC)
#define umul_ppmm(ph, pl, m0, m1) \
do { \
USItype __m0 = (m0), __m1 = (m1); \