]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Change R/S 6000 macros to use new mnemonics under -mnew-mnemonics
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 31 Mar 1994 17:10:42 +0000 (17:10 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 31 Mar 1994 17:10:42 +0000 (17:10 +0000)
From-SVN: r6930

gcc/longlong.h

index c594a1feb5696ea5e15a645911cee62e72266030..2a5c9a38e389bfd3cbd10018cabba9765fe126f2 100644 (file)
 
 #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)),                                      \
             "%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)),                                       \
 #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__ */