From 496e1c4bdf3fdd04766aad7013ae8d63b7dcdf0e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 2 Apr 2003 11:33:22 -0800 Subject: [PATCH] * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh. From-SVN: r65173 --- gcc/ChangeLog | 4 ++++ gcc/longlong.h | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5642785312f..d7f2b9556f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-02 Richard Henderson + + * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh. + 2003-04-02 Kazu Hirata * config/h8300/h8300.md (a peephole2): New. 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