From: Paweł Sikora Date: Sat, 30 Apr 2005 09:47:31 +0000 (+0000) Subject: - temporary workaround for suboptimal gcc register reload mechanism. X-Git-Tag: auto/th/ocaml-3_08_3-4~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml.git;a=commitdiff_plain;h=8c0ed663108e337a8eb1251689cc79c9ed00d4fb - temporary workaround for suboptimal gcc register reload mechanism. Changed files: ocaml-gcc-pr21291-workaround.patch -> 1.1 --- diff --git a/ocaml-gcc-pr21291-workaround.patch b/ocaml-gcc-pr21291-workaround.patch new file mode 100644 index 0000000..72dffe2 --- /dev/null +++ b/ocaml-gcc-pr21291-workaround.patch @@ -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;