Module Name:    src
Committed By:   martin
Date:           Sun Nov 24 15:12:10 UTC 2013

Modified Files:
        src/lib/libm/arch/vax: n_cbrt.S

Log Message:
Provide cbrtl() and cbrtf() for vax


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/arch/vax/n_cbrt.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_cbrt.S
diff -u src/lib/libm/arch/vax/n_cbrt.S:1.6 src/lib/libm/arch/vax/n_cbrt.S:1.7
--- src/lib/libm/arch/vax/n_cbrt.S:1.6	Thu Aug  7 16:44:45 2003
+++ src/lib/libm/arch/vax/n_cbrt.S	Sun Nov 24 15:12:10 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: n_cbrt.S,v 1.6 2003/08/07 16:44:45 agc Exp $	*/
+/*	$NetBSD: n_cbrt.S,v 1.7 2013/11/24 15:12:10 martin Exp $	*/
 /*
  * Copyright (c) 1985, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -40,6 +40,16 @@
  * Max error less than 0.667 ulps (unit in the last places)
  */
 
+ENTRY(cbrtf, 0)
+	cvtfd	4(%ap),-(%sp)
+	calls	$2,_C_LABEL(cbrt)
+	cvtdf	%r0,%r0
+	ret
+
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(cbrtl, cbrt)
+#endif
+
 ALTENTRY(cbrt)
 ENTRY(d_cbrt, 0x00c0)		# save %r6 & %r7
 	movq	4(%ap),%r0	# %r0 = argument x

Reply via email to