Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / lib / libm / arch / i387 / e_log2f.S
blob889d866a27185bb0a6f6706098bb11b497571b5d
1 /*
2  * Written by Rui Paulo <rpaulo@NetBSD.org>, based on e_logf.S.
3  * Public domain.
4  */
6 #include <machine/asm.h>
8 #include "abi.h"
10 RCSID("$NetBSD$")
12 ENTRY(__ieee754_log2f)
13         XMM_ONE_ARG_FLOAT_PROLOGUE
14         fld1
15         flds    ARG_FLOAT_ONE
16         fyl2x
17         XMM_FLOAT_EPILOGUE
18         ret