Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/arch/vax Simple tanf() for vax
details: https://anonhg.NetBSD.org/src/rev/992c74b8d43b
branches: trunk
changeset: 327380:992c74b8d43b
user: martin <martin%NetBSD.org@localhost>
date: Thu Mar 06 10:59:52 2014 +0000
description:
Simple tanf() for vax
diffstat:
lib/libm/arch/vax/n_tan.S | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ef6d3a4d587f -r 992c74b8d43b lib/libm/arch/vax/n_tan.S
--- a/lib/libm/arch/vax/n_tan.S Thu Mar 06 10:59:00 2014 +0000
+++ b/lib/libm/arch/vax/n_tan.S Thu Mar 06 10:59:52 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_tan.S,v 1.6 2003/08/07 16:44:45 agc Exp $ */
+/* $NetBSD: n_tan.S,v 1.7 2014/03/06 10:59:52 martin Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -87,3 +87,11 @@
divd3 %r0,%r10,%r0
bispsw (%sp)+
1: ret
+
+
+ENTRY(tanf, 0)
+ cvtfd 4(%ap),-(%sp)
+ calls $2,_C_LABEL(tan)
+ cvtdf %r0,%r0
+ ret
+
Home |
Main Index |
Thread Index |
Old Index