980414-1.c: Fix assembler syntax to work with old assemblers too.
authorMarc Espie <espie@cvs.openbsd.org>
Thu, 2 Sep 1999 07:19:47 +0000 (07:19 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 2 Sep 1999 07:19:47 +0000 (01:19 -0600)
        * gcc.dg/980414-1.c: Fix assembler syntax to work with old
        assemblers too.

From-SVN: r29051

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/980414-1.c

index 86d45e8de201432ad57e989fc0768a8ae2068b0a..d005926100e5fe3db200c1b855dea1a3dcec9371 100644 (file)
@@ -1,3 +1,8 @@
+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
index 8fd0e12729691f52daf93eb0c9bcb54989fc64bb..fcd02b5f4a4806ad4b260b8286c75601318548a3 100644 (file)
@@ -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));