add i386 arch specific overrides of appropriate math functions using the 387 fpu.
[AROS.git] / arch / i386-all / stdc / math / s_rintf.s
blob6fb8722d121385182b89c76be753da8354eec3f4
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(rintf)
11 _FUNCTION(AROS_CDEFNAME(rintf))
13 .set FirstArg, 4 /* Skip Return-Adress */
14 .set arg_x, FirstArg
16 AROS_CDEFNAME(rintf):
17 flds arg_x(%esp)
18 frndint
19 ret