patch-2.4.19 linux-2.4.19/arch/m68k/math-emu/multi_arith.h
Next file: linux-2.4.19/arch/m68k/mm/fault.c
Previous file: linux-2.4.19/arch/m68k/math-emu/fp_emu.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/m68k/math-emu/multi_arith.h
- Orig date:
Mon Jun 11 19:15:27 2001
diff -urN linux-2.4.18/arch/m68k/math-emu/multi_arith.h linux-2.4.19/arch/m68k/math-emu/multi_arith.h
@@ -376,7 +376,7 @@
asm ("divu.l %2,%1:%0" : "=d" (quot), "=d" (rem) \
: "dm" (div), "1" (srch), "0" (srcl))
#define fp_add64(dest1, dest2, src1, src2) ({ \
- asm ("add.l %1,%0" : "=d,=dm" (dest2) \
+ asm ("add.l %1,%0" : "=d,dm" (dest2) \
: "dm,d" (src2), "0,0" (dest2)); \
asm ("addx.l %1,%0" : "=d" (dest1) \
: "d" (src1), "0" (dest1)); \
@@ -391,14 +391,14 @@
: "d" (0), "0" (dest->m32[0])); \
})
#define fp_sub64(dest, src) ({ \
- asm ("sub.l %1,%0" : "=d,=dm" (dest.m32[1]) \
+ asm ("sub.l %1,%0" : "=d,dm" (dest.m32[1]) \
: "dm,d" (src.m32[1]), "0,0" (dest.m32[1])); \
asm ("subx.l %1,%0" : "=d" (dest.m32[0]) \
: "d" (src.m32[0]), "0" (dest.m32[0])); \
})
#define fp_sub96c(dest, srch, srcm, srcl) ({ \
char carry; \
- asm ("sub.l %1,%0" : "=d,=dm" (dest.m32[2]) \
+ asm ("sub.l %1,%0" : "=d,dm" (dest.m32[2]) \
: "dm,d" (srcl), "0,0" (dest.m32[2])); \
asm ("subx.l %1,%0" : "=d" (dest.m32[1]) \
: "d" (srcm), "0" (dest.m32[1])); \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)