From 8c0ed663108e337a8eb1251689cc79c9ed00d4fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sat, 30 Apr 2005 09:47:31 +0000 Subject: [PATCH] - temporary workaround for suboptimal gcc register reload mechanism. Changed files: ocaml-gcc-pr21291-workaround.patch -> 1.1 --- ocaml-gcc-pr21291-workaround.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ocaml-gcc-pr21291-workaround.patch 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; -- 2.43.0