aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1994-07-05 23:02:03 +0000
committerTorbjorn Granlund <tege@gnu.org>1994-07-05 23:02:03 +0000
commit325877e17758607740ed3d112050a19c6ee9b38a (patch)
treee21bea7a29315749a3f858dd9a403ce482615576 /gcc
parent3e073e7297d196adc6fdfb97e008ff5df29c7b7e (diff)
downloadgcc-325877e17758607740ed3d112050a19c6ee9b38a.zip
gcc-325877e17758607740ed3d112050a19c6ee9b38a.tar.gz
gcc-325877e17758607740ed3d112050a19c6ee9b38a.tar.bz2
(expand_increment): If pre-incrementing a promoted
variable, don't adjust OP0 since the result won't be used. From-SVN: r7656
Diffstat (limited to 'gcc')
-rw-r--r--gcc/longlong.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 86dfb29..19450c3 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); \