]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- temporary workaround for suboptimal gcc register reload mechanism.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 30 Apr 2005 09:47:31 +0000 (09:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-gcc-pr21291-workaround.patch -> 1.1

ocaml-gcc-pr21291-workaround.patch [new file with mode: 0644]

diff --git a/ocaml-gcc-pr21291-workaround.patch b/ocaml-gcc-pr21291-workaround.patch
new file mode 100644 (file)
index 0000000..72dffe2
--- /dev/null
@@ -0,0 +1,24 @@
+--- ocaml-3.08.3/otherlibs/num/bng_ia32.c.orig 2005-04-30 11:42:30.000000000 +0200
++++ ocaml-3.08.3/otherlibs/num/bng_ia32.c      2005-04-30 11:44:16.000000000 +0200
+@@ -121,8 +121,8 @@
+         "leal 4(%1), %1 \n\t"
+         "decl %2 \n\t"
+         "jnz 1b"
+-        : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&r" (out)
+-        : "rm" (d)
++        : "+r" (a), "+r" (b), "+m" (blen), "+r" (out)
++        : "m" (d)
+         : "eax", "edx");
+   }
+   if (alen == 0) return out;
+@@ -164,8 +164,8 @@
+         "leal 4(%1), %1 \n\t"
+         "decl %2 \n\t"
+         "jnz 1b"
+-        : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&rm" (out), "=&r" (tmp)
+-        : "rm" (d)
++        : "+r" (a), "+r" (b), "+m" (blen), "+m" (out), "=&r" (tmp)
++        : "m" (d)
+         : "eax", "edx");
+   }
+   if (alen == 0) return out;
This page took 0.050586 seconds and 4 git commands to generate.