diff --git a/lib/libm/arch/i387/s_ceilf.S b/lib/libm/arch/i387/s_ceilf.S index 4900b42493e8..9855c5fc0ddd 100644 --- a/lib/libm/arch/i387/s_ceilf.S +++ b/lib/libm/arch/i387/s_ceilf.S @@ -5,7 +5,7 @@ #include -RCSID("$NetBSD: s_ceilf.S,v 1.7 2003/07/26 19:25:01 salo Exp $") +RCSID("$NetBSD: s_ceilf.S,v 1.8 2004/07/16 18:40:24 drochner Exp $") ENTRY(ceilf) #ifdef __i386__ @@ -34,7 +34,7 @@ ENTRY(ceilf) movw %dx,-12(%rsp) fldcw -12(%rsp) movss %xmm0,-4(%rsp) - fldl -4(%rsp) + flds -4(%rsp) frndint fldcw -8(%rsp) fstps -4(%rsp) diff --git a/lib/libm/arch/i387/s_floorf.S b/lib/libm/arch/i387/s_floorf.S index 6a9dab0ca7c2..ffa1ae2fc02f 100644 --- a/lib/libm/arch/i387/s_floorf.S +++ b/lib/libm/arch/i387/s_floorf.S @@ -5,7 +5,7 @@ #include -RCSID("$NetBSD: s_floorf.S,v 1.6 2003/07/26 19:25:02 salo Exp $") +RCSID("$NetBSD: s_floorf.S,v 1.7 2004/07/16 18:40:24 drochner Exp $") ENTRY(floorf) #ifdef __i386__ @@ -34,10 +34,10 @@ ENTRY(floorf) andw $0xf7ff,%dx movw %dx,-12(%rsp) fldcw -12(%rsp) - fldl -4(%rsp) + flds -4(%rsp) frndint fldcw -8(%rsp) - fstpl -4(%rsp) + fstps -4(%rsp) movss -4(%rsp),%xmm0 #endif ret