summaryrefslogtreecommitdiff
path: root/lib/libm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 06:24:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 06:24:52 +0000
commitd9c3cfb552ce31f1d56ad8bf81c035650ce99f17 (patch)
treee81cdc646c4789ea443396b63c2992005134f5b2 /lib/libm
parent6938508774d3f3fee187d58d9a7ddcc9ead75a74 (diff)
Use setne instead of setnel, new versions of gas balk at the bad mnemonic.
Wrong mask was used in s_finitef.S.
Diffstat (limited to 'lib/libm')
-rw-r--r--lib/libm/arch/i387/s_finite.S4
-rw-r--r--lib/libm/arch/i387/s_finitef.S8
2 files changed, 6 insertions, 6 deletions
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 <machine/asm.h>
-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 <machine/asm.h>
-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