Module Name: src
Committed By: martin
Date: Thu Mar 6 10:59:52 UTC 2014
Modified Files:
src/lib/libm/arch/vax: n_tan.S
Log Message:
Simple tanf() for vax
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/arch/vax/n_tan.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/arch/vax/n_tan.S
diff -u src/lib/libm/arch/vax/n_tan.S:1.6 src/lib/libm/arch/vax/n_tan.S:1.7
--- src/lib/libm/arch/vax/n_tan.S:1.6 Thu Aug 7 16:44:45 2003
+++ src/lib/libm/arch/vax/n_tan.S Thu Mar 6 10:59:52 2014
@@ -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 @@ ENTRY(tan, 0x0fc0) # save %r6-%r11
divd3 %r0,%r10,%r0
bispsw (%sp)+
1: ret
+
+
+ENTRY(tanf, 0)
+ cvtfd 4(%ap),-(%sp)
+ calls $2,_C_LABEL(tan)
+ cvtdf %r0,%r0
+ ret
+