summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1994-03-31 17:10:42 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1994-03-31 17:10:42 +0000
commit0e10cbc946ec3d66b85eed1b2cb4596f9772de09 (patch)
tree212a7e60dc47e1e96bbae813b9265028382eb5d6 /gcc/longlong.h
parent48655c334da21e169e1a9d02e749587b74a07cb4 (diff)
downloadgcc-0e10cbc946ec3d66b85eed1b2cb4596f9772de09.tar.gz
Change R/S 6000 macros to use new mnemonics under -mnew-mnemonics
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index c594a1feb56..2a5c9a38e38 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -317,8 +317,8 @@
#if defined (___IBMR2__) /* IBM RS6000 */
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("a%I5 %1,%4,%5
- ae %0,%2,%3" \
+ __asm__ ("{a%I5|add%I5c} %1,%4,%5
+ {ae|adde} %0,%2,%3" \
: "=r" ((USItype)(sh)), \
"=&r" ((USItype)(sl)) \
: "%r" ((USItype)(ah)), \
@@ -326,8 +326,8 @@
"%r" ((USItype)(al)), \
"rI" ((USItype)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("sf%I4 %1,%5,%4
- sfe %0,%3,%2" \
+ __asm__ ("{sf%I4|subf%I4c} %1,%5,%4
+ {sfe|subfe} %0,%3,%2" \
: "=r" ((USItype)(sh)), \
"=&r" ((USItype)(sl)) \
: "r" ((USItype)(ah)), \
@@ -359,7 +359,7 @@
#define UDIV_TIME 40
#define UDIV_NEEDS_NORMALIZATION 1
#define count_leading_zeros(count, x) \
- __asm__ ("cntlz %0,%1" \
+ __asm__ ("{cntlz|cntlzw} %0,%1" \
: "=r" ((USItype)(count)) \
: "r" ((USItype)(x)))
#endif /* ___IBMR2__ */