kolibrios/contrib/kolibri-libc/source/math/cos.s

16 lines
140 B
ArmAsm
Raw Normal View History

#include "libc/asm.h"
L0:
.quad 0xffffffffffffffff
MK_C_SYM(cos)
fldl 4(%esp)
fcos
fstsw
sahf
jnp L1
fstp %st(0)
fldl L0
L1:
ret