Commit df138bc2 by Richard Kenner

(mips umul_ppmm): Use `l' and `h' constraints; remove mflo and mfhi

instructions.

From-SVN: r10425
parent 3e8f1dc0
...@@ -552,11 +552,9 @@ ...@@ -552,11 +552,9 @@
#if defined (__mips__) #if defined (__mips__)
#define umul_ppmm(w1, w0, u, v) \ #define umul_ppmm(w1, w0, u, v) \
__asm__ ("multu %2,%3 __asm__ ("multu %2,%3" \
mflo %0 : "=l" ((USItype)(w0)), \
mfhi %1" \ "=h" ((USItype)(w1)) \
: "=d" ((USItype)(w0)), \
"=d" ((USItype)(w1)) \
: "d" ((USItype)(u)), \ : "d" ((USItype)(u)), \
"d" ((USItype)(v))) "d" ((USItype)(v)))
#define UMUL_TIME 10 #define UMUL_TIME 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment