add i386 arch specific overrides of appropriate math functions using the 387 fpu.
[AROS.git] / arch / i386-all / stdc / math / s_logbf.s
blobe0b531919669a4afbde0b60ab7afe86b55c0e37e
1 /*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain.
4 */
6 #include "aros/i386/asm.h"
8 .text
9 _ALIGNMENT
10 .globl AROS_CDEFNAME(logbf)
11 _FUNCTION(AROS_CDEFNAME(logbf))
13 .set FirstArg, 4 /* Skip Return-Adress */
14 .set arg_x, FirstArg
16 AROS_CDEFNAME(logbf):
17 flds arg_x(%esp)
18 fxtract
19 fstp %st
20 ret