patch #7140
[mldonkey.git] / patches / ocaml-3.08.3.patch
blobe6f517b838b10190858906544c7e34d4b7dba559
1 --- ./otherlibs/num/bng_ia32.c 2003-10-26 10:51:11.000000000 +0100
2 +++ ./otherlibs/num/bng_ia32.c 2007-05-23 12:44:56.000000000 +0200
3 @@ -121,8 +121,8 @@
4 "leal 4(%1), %1 \n\t"
5 "decl %2 \n\t"
6 "jnz 1b"
7 - : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&r" (out)
8 - : "rm" (d)
9 + : "+&r" (a), "+&r" (b), "+&r" (blen), "=m" (out)
10 + : "m" (d)
11 : "eax", "edx");
13 if (alen == 0) return out;
14 @@ -164,8 +164,8 @@
15 "leal 4(%1), %1 \n\t"
16 "decl %2 \n\t"
17 "jnz 1b"
18 - : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&rm" (out), "=&r" (tmp)
19 - : "rm" (d)
20 + : "+&r" (a), "+&r" (b), "=m" (blen), "=m" (out), "=&r" (tmp)
21 + : "m" (d)
22 : "eax", "edx");
24 if (alen == 0) return out;