mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
fe69257da2
math routines that appear to be (a) correct and (b) faster than their MI counterparts on my Pentium 4. Obtained from: NetBSD
16 lines
242 B
ArmAsm
16 lines
242 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
|
/* RCSID("$NetBSD: s_logbf.S,v 1.3 1995/05/09 00:15:12 jtc Exp $") */
|
|
|
|
ENTRY(logbf)
|
|
flds 4(%esp)
|
|
fxtract
|
|
fstp %st
|
|
ret
|