diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2013-08-06 19:02:15 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2013-08-06 19:02:15 +0000 |
commit | c592bc6a277d522ad859380fd672f8ac084ea40c (patch) | |
tree | 87c222c68f78a8eca1d542ce3219a4d3ed46d46b /lib | |
parent | fa1a8e7245dfff7ccd3dfaaa9aed9c53d2c0a3ba (diff) |
scalbnf on vax, okay miod@
Diffstat (limited to 'lib')
-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 |