More aliases

This commit is contained in:
martin 2014-10-10 22:06:33 +00:00
parent 3f7199ab7e
commit 642e307125
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: n_sincos.S,v 1.8 2003/08/07 16:44:45 agc Exp $ */
/* $NetBSD: n_sincos.S,v 1.9 2014/10/10 22:06:33 martin Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@ -52,6 +52,10 @@ ENTRY(sinf, 0)
cvtdf %r0,%r0
ret
#ifdef WEAK_ALIAS
WEAK_ALIAS(_sinl, sin)
#endif
ENTRY(sin, 0xfc0)
movq 4(%ap),%r0
bicw3 $0x807f,%r0,%r2
@ -87,6 +91,10 @@ ENTRY(cosf, 0)
cvtdf %r0,%r0
ret
#ifdef WEAK_ALIAS
WEAK_ALIAS(_cosl, cos)
#endif
ENTRY(cos, 0x0fc0)
movq 4(%ap),%r0
bicw3 $0x7f,%r0,%r2