Change R/S 6000 macros to use new mnemonics under -mnew-mnemonics

From-SVN: r6930
This commit is contained in:
Ian Lance Taylor 1994-03-31 17:10:42 +00:00
parent 255cf280a5
commit 4a3b7dbedd
1 changed files with 5 additions and 5 deletions

View File

@ -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__ */