OpenLIBM: local modification - elf notes on assembly
[dragonfly.git] / contrib / openbsd_libm / arch / amd64 / s_sinf.S
blob85ddb6a8acd71fd62c00577f65b5db248590519f
1 /*      $OpenBSD: s_sinf.S,v 1.2 2005/08/02 11:17:31 espie Exp $ */
2 /*
3  * Written by J.T. Conklin <jtc@NetBSD.org>.
4  * Public domain.
5  */
7 #include <machine/asm.h>
9 #include "abi.h"
11 /* A float's domain isn't large enough to require argument reduction. */
12 ENTRY(sinf)
13         XMM_ONE_ARG_FLOAT_PROLOGUE
14         flds    ARG_FLOAT_ONE
15         fsin
16         XMM_FLOAT_EPILOGUE
17         ret
18 END(sinf)
20         .section .note.GNU-stack,"",%progbits