/* $OpenBSD: s_ilogb.S,v 1.3 2009/04/08 22:30:41 martynas Exp $ */ /* * Written by J.T. Conklin . * Public domain. */ #include ENTRY(ilogb) movsd %xmm0,-8(%rsp) fldl -8(%rsp) fxtract fstp %st fistpl -8(%rsp) movl -8(%rsp),%eax ret