diff options
author | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-01-04 16:12:43 +0000 |
---|---|---|
committer | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-01-04 16:12:43 +0000 |
commit | 6a435590e314695a387b2e441b99b07298ab5b60 (patch) | |
tree | f953aa5b36c93388df3a23e7bf78f59ab0e89fda /lib/libc/arch/amd64 | |
parent | 6f81429b920606108f3081113c98092fd715b4a3 (diff) |
remove code for ancient gcc.
ok millert@, kettenis@
Diffstat (limited to 'lib/libc/arch/amd64')
-rw-r--r-- | lib/libc/arch/amd64/gen/ldexp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/arch/amd64/gen/ldexp.c b/lib/libc/arch/amd64/gen/ldexp.c index 9769dd67cc1..bfd89d8781c 100644 --- a/lib/libc/arch/amd64/gen/ldexp.c +++ b/lib/libc/arch/amd64/gen/ldexp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldexp.c,v 1.3 2013/11/12 06:05:17 deraadt Exp $ */ +/* $OpenBSD: ldexp.c,v 1.4 2015/01/04 16:12:42 daniel Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -42,14 +42,8 @@ double ldexp(double value, int exp) { double temp; -#if __GNUC__ >= 2 __asm ("fscale" : "=t" (temp) : "0" (value), "u" ((double)exp)); -#else - __asm ("fscale; fstp %%st(1)" - : "=f" (temp) - : "f" (value), "0" ((double)exp)); -#endif return (temp); } |