diff options
-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 |