diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-25 22:57:39 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-25 22:57:39 +0000 |
commit | 8e9137bdc81a15144823abcd6c56fb74a11463af (patch) | |
tree | 2e089f8a9028fcf5f691d8aab6ca897af2c2f911 /lib | |
parent | 7283308534010ae0729003c8c8c7f75205885079 (diff) |
Use __asm, not asm
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/i386/gen/ldexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/i386/gen/ldexp.c b/lib/libc/arch/i386/gen/ldexp.c index 42740c21598..f5360f0205b 100644 --- a/lib/libc/arch/i386/gen/ldexp.c +++ b/lib/libc/arch/i386/gen/ldexp.c @@ -36,7 +36,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char sccsid[] = "from: @(#)ldexp.c 5.1 (Berkeley) 4/23/90";*/ -static char rcsid[] = "$Id: ldexp.c,v 1.1 1995/10/18 08:41:24 deraadt Exp $"; +static char rcsid[] = "$Id: ldexp.c,v 1.2 1996/03/25 22:57:38 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -48,11 +48,11 @@ ldexp (double value, int exp) { double temp; #if __GNUC__ >= 2 - asm ("fscale" + __asm ("fscale" : "=t" (temp) : "0" (value), "u" ((double)exp)); #else - asm ("fscale; fstp %%st(1)" + __asm ("fscale; fstp %%st(1)" : "=f" (temp) : "f" (value), "0" ((double)exp)); #endif |