Skip to content

Commit

Permalink
Revu inline asm pour gcc 4.0 (PR#3604, PR#3637)
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/version/3.08@6973 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
xleroy committed Jul 20, 2005
1 parent e5806d6 commit 3f7b92c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions otherlibs/num/bng_ia32.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ static bngdigit bng_ia32_mult_add_digit
"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), "+&r" (blen), "=m" (out)
: "m" (d)
: "eax", "edx");
}
if (alen == 0) return out;
Expand Down Expand Up @@ -164,8 +164,8 @@ static bngdigit bng_ia32_mult_sub_digit
"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;
Expand Down

0 comments on commit 3f7b92c

Please sign in to comment.