summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 36b853d15f2..f824b5fcd88 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -552,11 +552,9 @@
#if defined (__mips__)
#define umul_ppmm(w1, w0, u, v) \
- __asm__ ("multu %2,%3
- mflo %0
- mfhi %1" \
- : "=d" ((USItype)(w0)), \
- "=d" ((USItype)(w1)) \
+ __asm__ ("multu %2,%3" \
+ : "=l" ((USItype)(w0)), \
+ "=h" ((USItype)(w1)) \
: "d" ((USItype)(u)), \
"d" ((USItype)(v)))
#define UMUL_TIME 10