diff options
author | Robert Lipe <robertl@dgii.com> | 1998-06-19 12:08:33 +0000 |
---|---|---|
committer | Robert Lipe <robertl@gcc.gnu.org> | 1998-06-19 12:08:33 +0000 |
commit | 117b84b73e5bc9a2c2eeef395a94e6a3ac9a82fc (patch) | |
tree | f8ce832620338052c2ec004f23ed39b59049fd8c /gcc | |
parent | a6e7f20f1e4aad791153a7867a8f55c75555f075 (diff) | |
download | gcc-117b84b73e5bc9a2c2eeef395a94e6a3ac9a82fc.zip gcc-117b84b73e5bc9a2c2eeef395a94e6a3ac9a82fc.tar.gz gcc-117b84b73e5bc9a2c2eeef395a94e6a3ac9a82fc.tar.bz2 |
980414-1.c: Move comments outside of ASM to improve compatibility with assmblers with a...
* gcc.dg/980414-1.c: Move comments outside of ASM to improve
compatibility with assmblers with a different comment character.
Eliminate use of GAS-specific extensions.
From-SVN: r20592
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/980414-1.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ea592b3..abc4487 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +Fri Jun 19 14:06:36 1998 Robert Lipe <robertl@dgii.com> + + * gcc.dg/980414-1.c: Move comments outside of ASM to improve + compatibility with assmblers with a different comment character. + Eliminate use of GAS-specific extensions. + Fri Jun 19 02:05:14 1998 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/execute/ieee/980619-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/980414-1.c b/gcc/testsuite/gcc.dg/980414-1.c index 9646f6d..8fd0e12 100644 --- a/gcc/testsuite/gcc.dg/980414-1.c +++ b/gcc/testsuite/gcc.dg/980414-1.c @@ -29,12 +29,12 @@ mypow (double __x, double __y) } } __asm __volatile__ - ("fmul %%st(1) # y * log2(x)\n\t" - "fstl %%st(1)\n\t" - "frndint # int(y * log2(x))\n\t" + ("fmul %%st(1),%%st\n\t" /* y * log2(x) */ + "fst %%st(1)\n\t" + "frndint\n\t" /* int(y * log2(x)) */ "fxch\n\t" - "fsub %%st(1) # fract(y * log2(x))\n\t" - "f2xm1 # 2^(fract(y * log2(x))) - 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)); __value += 1.0; __asm __volatile__ |