add i386 arch specific overrides of appropriate math functions using the 387 fpu.
[AROS.git] / arch / i386-all / stdc / math / e_sqrtf.s
blobced3ff8861f0e78384431305736b303b56cd54e9
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(sqrtf)
11 _FUNCTION(AROS_CDEFNAME(sqrtf))
13 .set FirstArg, 4 /* Skip Return-Adress */
14 .set arg_x, FirstArg
16 AROS_CDEFNAME(sqrtf):
17 /* Fetch the arguments off the stack. */
18 flds arg_x(%esp)
20 fsqrt
22 ret