summaryrefslogtreecommitdiffstats
path: root/lib/libm/arch/vax
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-10-07 22:25:53 +0000
committermartynas <martynas@openbsd.org>2008-10-07 22:25:53 +0000
commit23f68ee6fc66cfd9a725b4fa1a0e4cae93ab023a (patch)
tree327d06d204fa47fa93919dd833181f189452da19 /lib/libm/arch/vax
parentKill the linux-ready negative return codes in ``shared'' code. We handle (diff)
downloadwireguard-openbsd-23f68ee6fc66cfd9a725b4fa1a0e4cae93ab023a.tar.xz
wireguard-openbsd-23f68ee6fc66cfd9a725b4fa1a0e4cae93ab023a.zip
- noieee_src: adapt complex versions of the functions it already
supports (which is all, except the float ones) ok millert@
Diffstat (limited to 'lib/libm/arch/vax')
-rw-r--r--lib/libm/arch/vax/n_hypot.S (renamed from lib/libm/arch/vax/n_cabs.S)5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libm/arch/vax/n_cabs.S b/lib/libm/arch/vax/n_hypot.S
index 02f01ae8277..bd5cbf49df1 100644
--- a/lib/libm/arch/vax/n_cabs.S
+++ b/lib/libm/arch/vax/n_hypot.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: n_cabs.S,v 1.4 2008/09/13 21:25:40 martynas Exp $ */
+/* $OpenBSD: n_hypot.S,v 1.1 2008/10/07 22:25:53 martynas Exp $ */
/* $NetBSD: n_cabs.S,v 1.1 1995/10/10 23:40:26 ragge Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -45,8 +45,7 @@
/* entry for c functions cabs and hypot */
.text
_ALIGN_TEXT
-ALTENTRY(hypot)
-ENTRY(cabs, 0x8000|R2|R3|R4|R5|R6) # enable floating overflow
+ENTRY(hypot, 0x8000|R2|R3|R4|R5|R6) # enable floating overflow
movq 4(ap),r0 # r0:1 = x
movq 12(ap),r2 # r2:3 = y
bicw3 $0x7f,r0,r4 # r4 has signed biased exp of x