]> git.pld-linux.org Git - packages/ocaml.git/blame - ocaml-gcc-pr21291-workaround.patch
- temporary workaround for suboptimal gcc register reload mechanism.
[packages/ocaml.git] / ocaml-gcc-pr21291-workaround.patch
CommitLineData
8c0ed663
PS
1--- ocaml-3.08.3/otherlibs/num/bng_ia32.c.orig 2005-04-30 11:42:30.000000000 +0200
2+++ ocaml-3.08.3/otherlibs/num/bng_ia32.c 2005-04-30 11:44:16.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), "+m" (blen), "+r" (out)
10+ : "m" (d)
11 : "eax", "edx");
12 }
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");
23 }
24 if (alen == 0) return out;
This page took 0.023351 seconds and 4 git commands to generate.