From d9c3cfb552ce31f1d56ad8bf81c035650ce99f17 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 10 Jun 1996 06:24:52 +0000 Subject: Use setne instead of setnel, new versions of gas balk at the bad mnemonic. Wrong mask was used in s_finitef.S. --- lib/libm/arch/i387/s_finite.S | 4 ++-- lib/libm/arch/i387/s_finitef.S | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libm') diff --git a/lib/libm/arch/i387/s_finite.S b/lib/libm/arch/i387/s_finite.S index 9887e88c9c2..b9b529fd8a4 100644 --- a/lib/libm/arch/i387/s_finite.S +++ b/lib/libm/arch/i387/s_finite.S @@ -5,12 +5,12 @@ #include -RCSID("$NetBSD: s_finite.S,v 1.4 1995/05/08 23:57:41 jtc Exp $") +RCSID("$NetBSD: s_finite.S,v 1.4.6.1 1996/06/04 18:30:16 jtc Exp $") ENTRY(finite) movl 8(%esp),%eax andl $0x7ff00000, %eax cmpl $0x7ff00000, %eax - setnel %al + setne %al andl $0x000000ff, %eax ret diff --git a/lib/libm/arch/i387/s_finitef.S b/lib/libm/arch/i387/s_finitef.S index aee90cdd32e..988d9ed1b2d 100644 --- a/lib/libm/arch/i387/s_finitef.S +++ b/lib/libm/arch/i387/s_finitef.S @@ -5,12 +5,12 @@ #include -RCSID("$NetBSD: s_finitef.S,v 1.3 1995/05/09 00:00:02 jtc Exp $") +RCSID("$NetBSD: s_finitef.S,v 1.3.6.1 1996/06/04 18:31:28 jtc Exp $") ENTRY(finitef) movl 4(%esp),%eax - andl $0x7ff00000, %eax - cmpl $0x7ff00000, %eax - setnel %al + andl $0x7f800000, %eax + cmpl $0x7f800000, %eax + setne %al andl $0x000000ff, %eax ret -- cgit v1.2.3