diff options
author | 2013-08-06 19:02:14 +0000 | |
---|---|---|
committer | 2013-08-06 19:02:14 +0000 | |
commit | 95f0eee30274ce05cb4bf185a3ccecd72654c0cb (patch) | |
tree | 99787c4ddc71c0c001f1bce2abf3d3dd2e8a8bf7 | |
parent | The Cortex bus should be useful for Cortex-A7, too. (diff) | |
download | wireguard-openbsd-95f0eee30274ce05cb4bf185a3ccecd72654c0cb.tar.xz wireguard-openbsd-95f0eee30274ce05cb4bf185a3ccecd72654c0cb.zip |
scalbnf on vax, okay miod@
-rw-r--r-- | lib/libm/arch/vax/n_support.S | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libm/arch/vax/n_support.S b/lib/libm/arch/vax/n_support.S index 3216dc1ab06..61702f2d885 100644 --- a/lib/libm/arch/vax/n_support.S +++ b/lib/libm/arch/vax/n_support.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.S,v 1.18 2013/07/05 21:10:50 miod Exp $ */ +/* $OpenBSD: n_support.S,v 1.19 2013/08/06 19:02:14 espie Exp $ */ /* $NetBSD: n_support.S,v 1.1 1995/10/10 23:40:30 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -115,6 +115,13 @@ Fn: movl 4(%ap),%r0 # r0:1 = x (zero or reserved op) * scalbn(double x, int N) */ +ENTRY(scalbnf, 0) + movl 8(%ap),-(%sp) + cvtfd 4(%ap),-(%sp) + calls $3, _C_LABEL(scalbn) + cvtdf %r0,%r0 + ret + STRONG_ALIAS(scalbnl,scalbn) ENTRY(scalbn, R2|R3) movq 4(%ap),%r0 |