summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-02 19:33:22 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-02 19:33:22 +0000
commit51f3790eeaed9b9cfc21d41316e5e947452d4f38 (patch)
treed304767301f1ec836474a71e13787a82f0420a67 /gcc/longlong.h
parent065c7645bf37a3a6dc1adb3d95f157416f067901 (diff)
downloadgcc-51f3790eeaed9b9cfc21d41316e5e947452d4f38.tar.gz
* longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index ecca2deef2d..318df96be54 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -111,10 +111,7 @@
#define umul_ppmm(ph, pl, m0, m1) \
do { \
UDItype __m0 = (m0), __m1 = (m1); \
- __asm__ ("umulh %r1,%2,%0" \
- : "=r" ((UDItype) ph) \
- : "%rJ" (__m0), \
- "rI" (__m1)); \
+ (ph) = __builtin_alpha_umulh (__m0, __m1); \
(pl) = __m0 * __m1; \
} while (0)
#define UMUL_TIME 46