From 27cc80279fc3d665f2d4e0908e4b168ae72c8d86 Mon Sep 17 00:00:00 2001 From: tholo Date: Mon, 25 Mar 1996 22:57:38 +0000 Subject: [PATCH] Use __asm, not asm --- lib/libc/arch/i386/gen/ldexp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/arch/i386/gen/ldexp.c b/lib/libc/arch/i386/gen/ldexp.c index 60bf77ccb65..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.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 -- 2.20.1