Commit 456dd999 by Marc Espie Committed by Jeff Law

980414-1.c: Fix assembler syntax to work with old assemblers too.

        * gcc.dg/980414-1.c: Fix assembler syntax to work with old
        assemblers too.

From-SVN: r29051
parent 6d649d26
Thu Sep 2 01:17:51 1999 Marc Espie <espie@cvs.openbsd.org>
* gcc.dg/980414-1.c: Fix assembler syntax to work with old
assemblers too.
Tue Aug 31 17:57:49 1999 Jeffrey A Law (law@cygnus.com)
* lib/c-torture.exp: Avoid the "compare executables" optimization
......
......@@ -32,7 +32,7 @@ mypow (double __x, double __y)
("fmul %%st(1),%%st\n\t" /* y * log2(x) */
"fst %%st(1)\n\t"
"frndint\n\t" /* int(y * log2(x)) */
"fxch\n\t"
"fxch %%st(1)\n\t"
"fsub %%st(1),%%st\n\t" /* fract(y * log2(x)) */
"f2xm1\n\t" /* 2^(fract(y * log2(x))) - 1 */
: "=t" (__value), "=u" (__exponent) : "0" (__x), "1" (__y));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment