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

instructions.

From-SVN: r10425
This commit is contained in:
Richard Kenner 1995-10-03 12:23:21 -04:00
parent 3e8f1dc0af
commit df138bc22c
1 changed files with 3 additions and 5 deletions

View File

@ -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